Home
last modified time | relevance | path

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

/zcbor-latest/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-latest/samples/pet/
Dpet1.yml2 - zcbor_bstr: "0012003400560078"
/zcbor-latest/
DREADME.md158 … In YAML, bytestrings are represented as `{"zcbor_bstr": "<hex-formatted bytestring>"}`, or as `{"
/zcbor-latest/zcbor/
Dzcbor.py1754 if ["zcbor_bstr"] == list(obj.keys()):
1755 if isinstance(obj["zcbor_bstr"], str):
1756 bstr = bytes.fromhex(obj["zcbor_bstr"])
1758 bstr = dumps(self._from_yaml_obj(obj["zcbor_bstr"]))
1802 return {"zcbor_bstr": bstr_obj}
2215 "BSTR": f"zcbor_bstr",