pub fn read_varint<R, U>(r: &mut R) -> Result<U, Error>where R: Read, U: VarInt,
Read a canonically-encoded VarInt.