[−][src]Function vint32::decode_varint_slice
pub fn decode_varint_slice(data: &[u8], pos: &mut usize) -> Option<u32>
Decode a vint32
-encoded unsigned 32-bit integer from a bytes slice.
Maximum space required are 5 bytes.
Will panic if incorrectly encoded.