Skip to main content

read_file_optimized

Function read_file_optimized 

Source
pub fn read_file_optimized(path: &Path, max_file_size: u64) -> Result<Vec<u8>>
Expand description

Read a complete file through bounded, race-detecting safe I/O.