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.
len
None