pub fn encode(v: u64, out: &mut Vec<u8>) -> Result<(), EncodeError>
Appends the shortest encoding of v.
v
TooLarge "varint" above MAX: a caller bug, since every value this crate’s users encode is a length or an identifier far below it. Nothing is written on error.
TooLarge
"varint"
MAX