pub fn write(mm: *MemoryMap, io: Io) File.WritePositionalError!void
Synchronizes the contents of memory to file.
memory
file
If memory.len is greater than file size, the bytes beyond the end of the file may be dropped, or they may be written, extending the size of the file.
memory.len
mm: *MemoryMap
io: Io
111 112 113
pub fn write(mm: *MemoryMap, io: Io) File.WritePositionalError!void { return io.vtable.fileMemoryMapWrite(io.userdata, mm); }
Synchronizes the contents of
memorytofile.If
memory.lenis greater than file size, the bytes beyond the end of the file may be dropped, or they may be written, extending the size of the file.