pub fn decode_from_bytes<T: Decode>(slice: &[u8]) -> Result<T, DecodeError>
Expand description

Try to decode bytes into T from its CBOR bytes representation