Function monero_wallet::io::write_varint
source ยท pub fn write_varint<W, U>(varint: &U, w: &mut W) -> Result<(), Error>where
W: Write,
U: VarInt,
Expand description
Write a number, VarInt-encoded.
This will panic if the VarInt exceeds u64::MAX.