fn read(&self, offset: usize, length: usize) -> Vec<u8> {
		if let None = self.mmap {
			return vec![];
		}
		let mmap = self.mmap.as_ref().unwrap();
		(&mmap[offset..(offset + length)]).to_vec()
	}
/// Read length bytes of data at offset from the file. Leverages the memory
/// map.
Read length bytes of data at offset from the file. Leverages the memory
map.
Read length bytes of data at offset from the file . Leverages the memory map .
fn read(&self, offset: usize, length: usize) -> Vec<u8> {
		if let None = self.mmap {
			return vec![];
		}
		let mmap = self.mmap.as_ref().unwrap();
		(&mmap[offset..(offset + length)]).to_vec()
	}
fn read ( & self , offset : usize , length : usize ) -> Vec < u8 > { if let None = self . mmap { return vec ! [ ] ; } let mmap = self . mmap . as_ref ( ) . unwrap ( ) ; ( & mmap [ offset .. ( offset + length ) ] ) . to_vec ( ) }
Read length bytes of data at offset from the file.
Read length bytes of data at offset from the file .
&self
offset
usize
length
usize