Enums§
- File
Data - Holds file data — either zero-copy mmap or an owned Vec.
Dereferences to
&[u8]for transparent use.
Functions§
- file_
size - Get file size without reading it (for byte-count-only optimization).
- read_
file - Read a file with zero-copy mmap for large files, buffered read for small ones.
- read_
stdin - Read all bytes from stdin into a Vec.