pub fn write_record(out: &mut Vec<u8>, number: u64)
Append a record that gives number to the next sample.
number
The number is always little-endian. The byte order of the connection does not apply to it.