Skip to main content

encode_event_body

Function encode_event_body 

Source
pub fn encode_event_body(ev: &ProbeEvent) -> Vec<u8> 
Expand description

CBOR-encode a ProbeEvent body (no length prefix).

content_version is emitted FIRST so the host can short-circuit unknown majors before walking unknown probe-source strings (ADR-0006 §12).