Crate filebuffer [−] [src]
Filebuffer, a library for fast and simple file reading.
Map a file into memory and access it as a slice of bytes. This is simple and will generally
use filebuffer::FileBuffer; let fbuffer = FileBuffer::open("src/lib.rs").unwrap(); assert_eq!(&fbuffer[3..45], &b"Filebuffer -- Fast and simple file reading"[..]);
A memory-mapped file.