Function write_bytes

Source
pub fn write_bytes(path: &Path, data: &[u8]) -> Result<()>
Expand description

Write binary data to a file atomically with file locking