write_file

Function write_file 

Source
pub fn write_file(
    dest: &str,
    data: &MoshData,
    options: &MoshOptions,
) -> Result<(), MoshError>
Expand description

Writes a new file from the provided buffer

ยงErrors

It may fail if parameters are invalid, palette is missing, or there is an I/O error.