pub fn snapshot_to_bytes(snapshot: &Snapshot) -> Vec<u8> ⓘExpand description
Serialize a Snapshot to a flat byte vector for NATS transport.
Format: JSON manifest (length-prefixed) followed by raw Parquet segments. The manifest contains: commits_json, refs_json, and namespace offsets.