NordicSemiconductor / zcbor

Low footprint C/C++ CBOR library and Python tool providing code generation from CDDL descriptions.
Apache License 2.0
114 stars 34 forks source link

zcbor_encode: Simplify value_encode() by using the new zcbor_header_len #363

Closed oyvindronningstad closed 1 year ago

oyvindronningstad commented 1 year ago

The code should work the same