Home
last modified time | relevance | path

Searched full:zcbor_bstr (Results 1 – 8 of 8) sorted by relevance

/zcbor-3.6.0/tests/cases/
Deverything_example0.yaml7 - {zcbor_bstr: "001122334455667788"}
8 - {zcbor_bstr: "666f6f"}
9 - {zcbor_bstr: "332211"}
10 - {zcbor_bstr: 42}
Deverything_example1.yaml7 - {zcbor_bstr: "00112233445566778899aabbccddeeffeeddccbbaa99887766554433221100"}
8 - {zcbor_bstr: "666f6f"}
9 - {zcbor_bstr: "123456"}
10 - {zcbor_bstr: 0xffffffffff}
Dmap_bstr.yaml2 zcbor_bstr: "1234abcd"
6 zcbor_bstr: "1a2b3c4d"
10 zcbor_bstr: 1234
Dyaml_compatibility.yaml1 bstr_hex: {zcbor_bstr: 0123456789abcdef}
3 zcbor_bstr:
Dpet0.yaml3 - zcbor_bstr: "12345678aabbccdd"
/zcbor-3.6.0/samples/pet/
Dpet1.yml2 - zcbor_bstr: "0012003400560078"
/zcbor-3.6.0/
DREADME.md153 … In YAML, bytestrings are represented as `{"zcbor_bstr": "<hex-formatted bytestring>"}`, or as `{"
/zcbor-3.6.0/zcbor/
Dzcbor.py1647 if ["zcbor_bstr"] == list(obj.keys()):
1648 if isinstance(obj["zcbor_bstr"], str):
1649 bstr = bytes.fromhex(obj["zcbor_bstr"])
1651 bstr = dumps(self._from_yaml_obj(obj["zcbor_bstr"]))
1695 return {"zcbor_bstr": bstr_obj}
2095 "BSTR": f"zcbor_bstr",