fuchsia_fs::file

Function write

Source
pub async fn write<D>(file: &FileProxy, data: D) -> Result<(), WriteError>
where D: AsRef<[u8]>,
Expand description

Writes the given data into the given file.