Skip to main content

Module reader

Module reader 

Source
Expand description

File reading utilities with memory mapping support.

Provides efficient file reading for both small and large files, with automatic detection of when to use memory mapping.

Structs§

FileReader
File reader with support for memory mapping.

Functions§

read_file
Reads a file to string, automatically choosing the best method.
read_file_mmap
Reads a file using memory mapping.
write_chunks
Writes chunks to individual files in a directory.
write_file
Writes content to a file, creating parent directories if needed.