Expand description
File header for the Crous binary format.
Layout (8 bytes total):
Offset Size Description
0 7 ASCII magic "CROUSv1"
7 1 Flags byteFlags byte layout:
Bit 0: Reserved (must be 0)
Bit 1: Has index block (1 = yes)
Bit 2: Has schema block (1 = yes)
Bit 3-7: Reserved (must be 0)Structs§
- File
Header - Parsed file header.
Constants§
- FLAGS_
HAS_ INDEX - Flag: file contains an index block.
- FLAGS_
HAS_ SCHEMA - Flag: file contains a schema block.
- FLAGS_
NONE - No flags set.
- HEADER_
SIZE - Header size in bytes.
- MAGIC
- The 7-byte magic identifying a Crous file.