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§
- File
Reader - 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.