pub fn setLength(mm: *MemoryMap, io: Io, new_len: usize) SetLengthError!void
Change the size of the mapping. This does not sync the contents. The size of the file after calling this is unspecified until write is called.
write
May change the pointer address of memory.
memory
mm: *MemoryMap
io: Io
new_len: usize
97 98 99
pub fn setLength(mm: *MemoryMap, io: Io, new_len: usize) SetLengthError!void { return io.vtable.fileMemoryMapSetLength(io.userdata, mm, new_len); }
Change the size of the mapping. This does not sync the contents. The size of the file after calling this is unspecified until
writeis called.May change the pointer address of
memory.