Expand description
Length-prefixed xxh3-64 block framing.
Structs§
- Decoded
Artifact - One validated framed artifact borrowing its original payload bytes.
- File
Header - Decoded fixed-width file header.
- Format
Error - Typed, artifact-naming persisted-format validation failure.
Enums§
- Format
Check - The exact validation check that rejected an artifact.
- Format
Values - Typed value-bearing facts carried by persisted-format failures.
Constants§
- FILE_
HEADER_ LEN - Fixed header length shared by every persisted file.
- FILE_
MAGIC - Permanent eight-byte file magic.
- FILE_
TRAILER_ LEN - Whole-file xxh3-64 trailer width.
Functions§
- decode_
artifact - Validates and decodes one complete single-block artifact.
- decode_
header - Parses only the fixed 32-byte header and validates its registry declaration.
- encode_
artifact - Encodes one complete single-block artifact with xxh3-64 block and file checksums.
- encode_
header - Encodes the shared fixed-width persisted-file header without a body or trailer.