Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

HLSS v1 binary snapshot format — write/read EntityGraph state to disk.

Format: [Header][Zstd-compressed Zinc body][CRC32 footer] Header: “HLSS” (4 bytes) + format_version (u16 LE) + entity_count (u32 LE) + timestamp (i64 LE, Unix nanos) + graph_version (u64 LE) = 26 bytes Body: Zstd-compressed Zinc-encoded grid of all entities Footer: CRC32 (u32 LE) over header + compressed body

Structs§

SnapshotMeta
Metadata from a loaded snapshot.
SnapshotReader
Reads and restores snapshots from disk in HLSS format.
SnapshotWriter
Writes snapshots of a SharedGraph to disk in HLSS format.

Enums§

SnapshotError
Errors during snapshot operations.