Function cnfs::read

source ยท
pub fn read(path: &Path, data: &mut [u8]) -> CNFSResult<usize>
Expand description

Read a file into a slice.

This is a convenience function for using open and File::read with fewer imports.