octets

Function varint_len

Source
pub const fn varint_len(v: u64) -> usize
Expand description

Returns how many bytes it would take to encode v as a variable-length integer.