libcbor

Documentation for version 0.11.0, updated on Feb 04, 2024.

Overview

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

Main features
  • Complete IETF RFC 8949 (STD 94) 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

Contents