Skip to main content

read_exact_at

Function read_exact_at 

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

Read exactly buffer.len() bytes from file starting at offset. This is a platform-specific helper that uses the most efficient method available.