libcbor

Documentation for version 0.4.0, updated on Jan 02, 2017.

Overview

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 C99 implementation
  • Layered architecture offers both control and convenience
  • Flexible memory management
  • No shared global state - threading friendly [2]
  • Proper handling of UTF-8
  • Full support for streams & incremental processing
  • Extensive documentation and test suite
  • No runtime dependencies, small footprint
[1]See RFC conformance
[2]With the exception of custom memory allocators (see Memory management and reference counting)

Contents