Function fourleaf::wire::encode_fixed_u64 [] [src]

pub fn encode_fixed_u64<W: Write>(w: &mut W, i: u64) -> Result<()>

Encodes an unsigned 64-bit integer to the given output.

The integer is "fixed-width" in that it always occupies the full 10 bytes regardless of its value. This allows in-place updates of the value while still allowing decode_u64 to understand it.