Function fvm_ipld_encoding::from_slice

source ยท
pub fn from_slice<'a, T>(slice: &'a [u8]) -> Result<T, Error>
where T: Deserialize<'a>,
Expand description

Decode a value from CBOR from the given slice.