Function deserialize

Source
pub fn deserialize<D: Deserialize>(src: &[u8], cursor: &mut usize) -> D
Expand description

Deserializes the data from a byte slice into D, reading from the given cursor, and advancing it by the amount of bytes read.