decode

Function decode 

Source
pub fn decode<T>(bytes: &[u8]) -> Result<T>
where T: Decode,
Expand description

Decodes a &[u8] into an instance of T: Decode.

Warning: The format is subject to change between versions.