Expand description
Per-document record header — encode / decode.
See docs/format.md § Document records for the byte layout. The
header is 16 bytes laid out as four little-endian u32 fields,
immediately followed by the postcard payload. The page-level
CRC32C trailer (on the B+tree leaf containing this record) covers
everything around the record; the header’s own payload_crc32c
covers only the payload bytes so that a forensic tool can verify
a record in isolation.
Structs§
- Document
Header - In-memory representation of the per-document record header.
Constants§
- DOC_
HEADER_ SIZE - Size of the per-document header in bytes.
- MAX_
INLINE_ DOC - Maximum on-disk record length that still fits inline in a B+tree leaf alongside at least one slot.