[−][src]Function esl01_indexedlog::utils::mmap_bytes
pub fn mmap_bytes(file: &File, len: Option<u64>) -> Result<Bytes>
Return a read-only view of the entire file.
If len
is None
, detect the file length automatically.
pub fn mmap_bytes(file: &File, len: Option<u64>) -> Result<Bytes>
Return a read-only view of the entire file.
If len
is None
, detect the file length automatically.