pub fn decode_integer(
buf: &[u8],
pos: &mut usize,
prefix_bits: u8,
) -> Result<usize, Error>Expand description
Decodes an N-bit prefix integer at buf[*pos]. At most four continuation bytes are
accepted (values up to about 2^28), far above anything a header block can carry.