pub fn write_file(
    dest: &str,
    buf: &[u8],
    info: &OutputInfo
) -> Result<(), MoshError>
Expand description

Writes a new file from the provided buffer

Errors

It may fail if parameters are invalid or due I/O error.