pub fn read_file_fast(path: &str, buffer: &mut [u8]) -> Result<usize>Expand description
Read entire file using direct syscalls. This avoids libc overhead and can be significantly faster for small files.
ยงErrors
Returns an error if the file cannot be opened or read