Function cnfs::write_all

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

Write a slice as the entire contents of a file.

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