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.
pub fn deserialize<D: Deserialize>(r: &[u8]) -> Result<D, DeserializeError>
Read out a MessagePack object.
If the input contains extra bytes following a valid msgpack object, this function silently ignores them.