pub fn write_binary_with_options_sync<P: AsRef<Path>>( filename: P, _options: Options, data: &[u8], ) -> Result<()>
Synchronously writes the bytes in data to filename, replacing any existing contents.
data
filename