pub fn deserialize<D: Deserialize>(src: &[u8], cursor: &mut usize) -> DExpand description
Deserializes the data from a byte slice into D, reading from the given
cursor, and advancing it by the amount of bytes read.
pub fn deserialize<D: Deserialize>(src: &[u8], cursor: &mut usize) -> DDeserializes the data from a byte slice into D, reading from the given
cursor, and advancing it by the amount of bytes read.