Skip to main content

large_file_buf_reader

Function large_file_buf_reader 

Source
pub fn large_file_buf_reader(
    path: &Path,
    buf_size: usize,
    io_setup: &IoSetupState,
) -> Result<impl BufRead + use<>>
Expand description

Open file at path with buffering reader using buf_size memory and doing read-ahead IO reads (if io_uring is supported by the platform)