Function strict_encoding::strict_deserialize[][src]

pub fn strict_deserialize<T>(data: &impl AsRef<[u8]>) -> Result<T, Error> where
    T: StrictDecode

Convenience method for strict decoding of data structures implementing StrictDecode from any byt data source.