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