bitcode

Function decode

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

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

Warning: The format is subject to change between major versions.