pub fn read_u32_vint(data: &mut &[u8]) -> u32
Expand description

Reads a vint u32 from a buffer, and consumes its payload data.

Panics

If the buffer does not start by a valid vint payload