pub fn write(path: impl AsRef<Path>, bytes: impl AsRef<[u8]>) -> Result<()>
Replace path with bytes using the default Options.
path
bytes
Options