Function serde_cbor::de::from_slice
[−]
[src]
pub fn from_slice<'a, T>(slice: &'a [u8]) -> Result<T> where
T: Deserialize<'a>,
Decodes a value from CBOR data in a slice.