bincode

Function deserialize

Source
pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result<T>
where T: Deserialize<'a>,
Expand description

Deserializes a slice of bytes into an instance of T using the default configuration.

Warning: the default configuration used by this function is not the same as that used by the DefaultOptions struct. See the config module for more details