deserialize_usize

Function deserialize_usize 

Source
pub fn deserialize_usize(
    buffer: &mut Vec<u8>,
) -> Result<usize, DeserializationError>
Expand description

Removes the next numeric value from the buffer. If the buffer does not contain enough elements to create a numeric value, the buffer is unchanged and an error is returned.