mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
![Ed Maste](/assets/img/avatar_default.png)
git-subtree-dir: contrib/libcbor git-subtree-mainline:293663f4da
git-subtree-split:5b2defbd2a
1 KiB
1 KiB
This is the development reference of libcbor. Looking for the user documentation?
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:
- \ref src/cbor/common.h
- \ref src/cbor/encoding.h
- \ref src/cbor.h
If you want to implement your own decoder or see how the default one is made:
- \ref src/cbor/internal/builder_callbacks.h
- \ref src/cbor/internal/stack.h
For details on encoding and packing (could be useful when porting to exotic platforms):
- \ref src/cbor/internal/encoders.h
- \ref src/cbor/internal/loaders.h
Streaming driver:
- \ref src/cbor/streaming.h
Manipulation routines for particular types:
- \ref src/cbor/ints.h
- \ref src/cbor/bytestrings.h
- \ref src/cbor/strings.h
- \ref src/cbor/arrays.h
- \ref src/cbor/maps.h
- \ref src/cbor/tags.h
- \ref src/cbor/floats_ctrls.h
How to contribute
Please refer to the repository