Function zerotrie::varint::read_varint_meta3
source ยท pub const fn read_varint_meta3(start: u8, remainder: &[u8]) -> (usize, &[u8])
Expand description
Reads a varint with 3 bits of metadata in the lead byte.
Returns the varint value and a subslice of remainder
with the varint bytes removed.
If the varint spills off the end of the slice, a debug assertion will fail, and the function will return the value up to that point.