Cbor

object Cbor(source)

Entry points for whole-buffer encoding and decoding.

Functions

Link copied to clipboard

Decodes exactly one data item; trailing bytes are an error.

Link copied to clipboard

Decodes a CBOR sequence (RFC 8742): zero or more items back to back.

Link copied to clipboard
Link copied to clipboard

Encodes items as a CBOR sequence: their encodings concatenated.