pub fn decode(data: &[u8], pos: &mut usize) -> Result<u64>
Decode a varint from data starting at pos. Advances pos past the varint.
data
pos