Skip to content

v1.0.1

Compare
Choose a tag to compare
@rimio rimio released this 28 Nov 20:53
· 7 commits to master since this release
93c1fcd

Added

  • Unit tests for encoder.
  • APIs for retrieving encoded buffer size (ecbor_get_encoded_buffer_size() and ECBOR_GET_ENCODED_BUFFER_SIZE).

Changed

  • ecbor_uint() API now receives uint64_t argument. This should be backwards compatible with old signature.
  • ecbor_str() and ecbor_bstr() APIs now take const pointers.

Fixed

  • Fixed ecbor_memcpy routine.
  • Correctly updating item counter when encoding arrays and maps (thank you, ivan-baldin).
  • Fix header encoding for FP64 values.
  • Initialize is_indefinite flags for applicable item types in their builder functions.
  • Fix chaining of map children.