holoscan::encode_message_label_payload

Beta
View as Markdown
expected<std::vector<uint8_t>, RuntimeError> holoscan::encode_message_label_payload(
const MessageLabel &label
)

Encode a MessageLabel into a self-contained byte blob.

Wire format: [path_count: u32] per path: [op_count: u32] per op: [name_size: u32] [name bytes] [rec_timestamp: i64] [pub_timestamp: i64] [frame_entry_count: u32] per frame: [key_size: u32] [key bytes] [frame_value: u64]