Home
last modified time | relevance | path

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

/zcbor-latest/
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…
130 Finally, DataTranslator can also generate a separate internal representation using `namedtuple`s to…
133 DataTranslator functionality is tested in [tests/scripts](tests/scripts)
138 CodeGenerator, like DataTranslator, inherits from CddlXcoder.
DRELEASE_NOTES.md165 * zcbor.py: DataTranslator: fix type checking
486 * Improve tags support in DataTranslator
487 * Improve decoding of cbor bstrs in DataTranslator
DREADME.md139 Importing zcbor gives access to the DataTranslator class which is used to implement the command lin…
140 DataTranslator can be used to programmatically perform the translations, or to manipulate the data.
146 …When returning this format, DataTranslator hides the idiomatic representations for bytestrings, ta…
/zcbor-latest/tests/scripts/
Dtest_zcbor.py68 self.my_types = zcbor.DataTranslator.from_cddl(cddl_str, 16).my_types
679 cddl_res = zcbor.DataTranslator.from_cddl(f.read(), 16)
692 cddl_res = zcbor.DataTranslator.from_cddl(
706 cddl_res = zcbor.DataTranslator.from_cddl(
734 cddl_res = zcbor.DataTranslator.from_cddl(
741 cddl_res = zcbor.DataTranslator.from_cddl(
769 cddl_res = zcbor.DataTranslator.from_cddl(
/zcbor-latest/zcbor/
Dzcbor.py1373 class DataTranslator(CddlXcoder): class
3298 cddl_res = DataTranslator.from_cddl(cddl_contents, args.default_max_qty)