Function deserialize

Source
pub fn deserialize<D: Deserialize>(r: &[u8]) -> Result<D, DeserializeError>
Expand description

Read out a MessagePack object.

If the input contains extra bytes following a valid msgpack object, this function silently ignores them.