Entry points for whole-buffer encoding and decoding.
Decodes exactly one data item; trailing bytes are an error.
Decodes a CBOR sequence (RFC 8742): zero or more items back to back.
Encodes items as a CBOR sequence: their encodings concatenated.