Function rmp_serde::from_slice [] [src]

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

Deserializes a byte slice into the desired type.