pub fn bytes_from_record( typ: u8, length: u16, timestamp: DateTime<Utc>, buf: &mut [u8], )
Stores the record header in the provided byte slice.