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