Skip to main content
stub — This page will be curated before publishing. Content below reflects the current implementation.

Wire frame layout

Every sample on the Cyberwave data bus (Zenoh or filesystem) uses one framing:
  • header_len — 4-byte LE uint32 covering ts + seq + JSON.
  • ts — 8-byte LE float64, acquisition timestamp (Unix epoch seconds). Binary-packed for O(1) read.
  • seq — 8-byte LE int64, per-channel sequence number for drop detection.
  • Header JSON — compact UTF-8 JSON with at least content_type and channel-specific metadata.
  • Payload — raw bytes (numpy buffer) or UTF-8 JSON.
The HeaderTemplate class pre-encodes the JSON once and splices only ts/seq per sample (<500 ns overhead).

Key expression pattern

Usage

Encoding / decoding with HeaderTemplate (hot path)

One-shot encode / decode

Building and parsing key expressions

Well-known channels