Function rmp_serde::decode::from_slice [] [src]

pub fn from_slice<'a, T>(input: &'a [u8]) -> Result<T, Error> where
    T: Deserialize<'a>, 

Deserializes a byte slice into the desired type.