[][src]Module moz_cbor::decoder

Constants

MAX_ARRAY_SIZE

Functions

decode

Read the CBOR structure in bytes and return it as a CborType. To prevent stack exhaustion, the maximum nested depth of CBOR objects (for example, an array of an array of an array...) is 256. If the input data describes a CBOR structure that exceeds this limit, an error will be returned.