Skip to main content

encode_kvn

Function encode_kvn 

Source
pub fn encode_kvn(omm: &Omm) -> String
Expand description

Encode an Omm as a CCSDS OMM KVN message.

Numeric values use their shortest round-tripping decimal form, so parsing the output reproduces the same f64s. The epoch is emitted to microseconds, extended to femtoseconds only when a sub-microsecond remainder is present.