Skip to main content

encode

Function encode 

Source
pub fn encode(timestamp: u64, payload: &[u8]) -> Result<Bytes, Error>
Expand description

Encode a LOC frame with a single 0x06 Timestamp property.

Per-frame 0x08 timescale is never emitted. The encoder relies on the catalog timescale to interpret timestamp.