Function oasis_cbor::from_slice [−][src]
pub fn from_slice<T>(data: &[u8]) -> Result<T, DecodeError> where
T: Decode,
Expand description
Convert CBOR-encoded data into the given type.
pub fn from_slice<T>(data: &[u8]) -> Result<T, DecodeError> where
T: Decode,
Convert CBOR-encoded data into the given type.