libcbor¶
Documentation for version 0.10.2, updated on Jun 03, 2023.
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
- 1
- 2
With the exception of custom memory allocators (see Memory management and reference counting)
Contents¶
- Getting started
- Usage & preliminaries
- API
- Tests
- IETF standard conformance
- Internal mechanics
- Changelog
- Development