Function quick_protobuf::sizeofs::sizeof_varint

source ยท
pub fn sizeof_varint(v: u64) -> usize
Expand description

Computes the binary size of the varint encoded u64

https://developers.google.com/protocol-buffers/docs/encoding