#[unsafe(no_mangle)]
pub unsafe extern "C" fn write_vmgs(
file_path: *const c_char,
data_path: *const c_char,
file_id: FileId,
encryption_key: *const c_char,
use_encryption: bool,
) -> VmgsError
Expand description
Write from a data file to a FileId
in a VMGS file
§Safety
file_path
and data_path
must point to valid null-terminated utf-8 strings.
encryption_key
must be null-terminated and nonnull if using encryption