Function sk_cbor::reader::read[][src]

pub fn read(encoded_cbor: &[u8]) -> Result<Value, DecoderError>
Expand description

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).