Struct pelite::FileMap [−][src]
pub struct FileMap { /* fields omitted */ }
Memory mapped file.
Methods
impl FileMap
[src]
impl FileMap
pub fn open<P: AsRef<Path> + ?Sized>(path: &P) -> Result<FileMap>
[src]
pub fn open<P: AsRef<Path> + ?Sized>(path: &P) -> Result<FileMap>
Maps the whole file into memory.