pub fn decode<T>(bytes: &[u8]) -> Result<T>where T: Decode,
Decodes a &[u8] into an instance of T: Decode.
&[u8]
T:
Decode
Warning: The format is subject to change between versions.