Function bytes_from_record

Source
pub fn bytes_from_record(
    typ: u8,
    length: u16,
    timestamp: DateTime<Utc>,
    buf: &mut [u8],
)
Expand description

Stores the record header in the provided byte slice.