Expand description
Memory-mapped data.NNN archive reader.
Reader for CASC data.NNN archive files.
Each archive file contains a sequence of entries, where every entry starts with
a 30-byte header (EKey hash in reversed byte order, size, and flags) followed
by the BLTE-encoded payload. Files are memory-mapped for efficient random access
via DataStore.
Structs§
- Data
Header - Parsed data header from a data.NNN file.
- Data
Store - Manages memory-mapped data.NNN files.
Constants§
- DATA_
HEADER_ SIZE - Size of the per-entry header in a data.NNN file.
Functions§
- parse_
data_ header - Parse the 30-byte data header. The on-disk EKey is stored in reversed byte order; this function restores it to the normal order.