pub fn encode_event(
type_id: WireTypeId,
timestamp_delta_ns: Option<u32>,
values: &[FieldValue],
w: &mut impl Write,
) -> Result<()>Expand description
Encode an event frame. If timestamp_delta_ns is Some, writes a u24 LE delta
after the type_id (for schemas with has_timestamp = true).