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

This is the development reference of libcbor. If you are looking for the user documentation, you should probably head to the homepage.

Where to start

A couple of pointers for you to start with: 0x00000000, 0xDEADBEEF.

If you just want to peek under the hood, have a look at:

If you want to implement your own decoder or see how the default one is made:

For details on encoding and packing (could be useful when porting to exotic platforms):

Streaming driver:

Manipulation routines for particular types:

How to contribute

Please refer to the repository