pub fn varint_len<V: VarInt>(varint: V) -> usize
The amount of bytes this number will take when serialized as a VarInt.
This function will panic if the VarInt exceeds u64::MAX.