pub fn from_slice<T>(value: &[u8], endian: Endian) -> Result<T> where
    T: DeserializeOwned
Expand description

Deserialize from a slice of bytes.