pub fn sizeof_varint(v: u64) -> usize
Computes the binary size of the varint encoded u64
https://developers.google.com/protocol-buffers/docs/encoding