Module sk_cbor::reader[][src]

Expand description

Functionality for deserializing CBOR data into values.

Enums

Possible errors from a deserialization operation.

Functions

Deserialize CBOR binary data to produce a single Value, expecting that there is no additional data. Supports arbitrarily nested CBOR (so the DecoderError::TooMuchNesting error is never emitted).

Deserialize CBOR binary data to produce a single Value, expecting that there is no additional data. If max_nest is Some(max), then nested structures are only supported up to the given limit (returning DecoderError::TooMuchNesting if the limit is hit).