Skip to main content

Module reader

Module reader 

Source
Expand description

Read-only memory-mapped segment validation and lazy region access.

Structs§

SegmentReader
Validated read-only memory mapping with lazy region checksum verification.
StoredMetadataRows
Validated mmap-backed opaque metadata rows.
StoredTextRows
Validated mmap-backed optional UTF-8 source rows.

Functions§

validate_header_with_vfs
Reads and validates only one bounded segment header through a VFS decorator.
validate_segment_bytes
Fuzzing/parser seam that validates arbitrary complete segment bytes without mapping.