Skip to main content

read

Function read 

Source
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. Maximum level of nesting supported is 127; more deeply nested structures will fail with DecoderError::TooMuchNesting.