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

Decode a type implementing Decode from the given byte slice.