Documentation for version 0.3.0, updated on May 21, 2015.


libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.

Main features
  • Complete RFC conformance [1]
  • Robust C11 implementation
  • Layered architecture offers both control and convenience
  • Flexible memory management
  • Proper handling of UTF-8
  • No shared global state - threading friendly
  • Full support for streams & incremental processing
  • Extensive documentation and test suite
  • No runtime dependencies, small footprint
[1]RFC conformance