Home
last modified time | relevance | path

Searched refs:DataTranslator (Results 1 – 6 of 6) sorted by relevance

/zcbor-3.6.0/
D__init__.py12 DataTranslator,
DARCHITECTURE.md18 3. DataTranslator (inherits from CddlXcoder)
90 CddlXcoder inherits from CddlParser, and provides common functionality for DataTranslator and CodeG…
102 DataTranslator section in Architecture of the Python script
105 DataTranslator is for handling and manipulating CBOR on the "host".
109 DataTranslator inherits from CddlXcoder and allows converting data between a number of different re…
135 Finally, DataTranslator can also generate a separate internal representation using `namedtuple`s to…
138 DataTranslator functionality is tested in [tests/scripts](tests/scripts)
143 CodeGenerator, like DataTranslator, inherits from CddlXcoder.
DRELEASE_NOTES.md88 * zcbor.py: DataTranslator: fix type checking
409 * Improve tags support in DataTranslator
410 * Improve decoding of cbor bstrs in DataTranslator
DREADME.md134 Importing zcbor gives access to the DataTranslator class which is used to implement the command lin…
135 DataTranslator can be used to programmatically perform the translations, or to manipulate the data.
141 …When returning this format, DataTranslator hides the idiomatic representations for bytestrings, ta…
/zcbor-3.6.0/tests/scripts/
Dtest_zcbor.py62 self.my_types = zcbor.DataTranslator.from_cddl(cddl_str, 16).my_types
632 cddl_res = zcbor.DataTranslator.from_cddl(f.read(), 16)
645 cddl_res = zcbor.DataTranslator.from_cddl(
659 cddl_res = zcbor.DataTranslator.from_cddl(
687 cddl_res = zcbor.DataTranslator.from_cddl(
694 cddl_res = zcbor.DataTranslator.from_cddl(
722 cddl_res = zcbor.DataTranslator.from_cddl(
/zcbor-3.6.0/zcbor/
Dzcbor.py1293 class DataTranslator(CddlXcoder): class
3123 cddl_res = DataTranslator.from_cddl(cddl_contents, args.default_max_qty)