pub fn varint_length(mut value: u64) -> usize {
    let mut len = 1;
    while value >= 128 {
        value >>= 7;
        len += 1;
    }
    len
}
/// Return the length of the varint32 or varint64 encoding of `value`.
Return the length of the varint32 or varint64 encoding of `value`.
Return the length of the varint32 or varint64 encoding of ` value ` .
pub fn varint_length(mut value: u64) -> usize {
    let mut len = 1;
    while value >= 128 {
        value >>= 7;
        len += 1;
    }
    len
}
pub fn varint_length ( mut value : u64 ) -> usize { let mut len = 1 ; while value >= 128 { value >>= 7 ; len += 1 ; } len }
Return the length of the varint32 or varint64 encoding of `value`.
Return the length of the varint32 or varint64 encoding of ` value ` .
value
u64
value
u64