API Reference cbor v#2.0.0-rc1

View Source

Modules

The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation. These design goals make it different from earlier binary serializations such as ASN.1 and MessagePack.

Protocol for serializing Elixir terms into CBOR.

Wraps a value with a CBOR tag number, or marks one of the non-numeric tag-like shapes (:bytes, :float, :simple) the encoder/decoder treat specially.

Behaviour for decoding CBOR tags this library does not natively handle.

Built-in CBOR.TagDecoder for tag 24 (Encoded CBOR data item, RFC 8949 §3.4.5.1). Recursively decodes the wrapped byte string as a single CBOR data item.