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