pread

Function pread 

Source
pub fn pread(file: &File, offset: u64, dst: &mut [u8]) -> Result<()>
Expand description

Positional read of exactly dst.len() bytes at offset. No file position is shared, so any number of threads may read one File at once.