Construct a FileMap upon the given path.
Release this mapping without flushing.
Release this mapped buffer without flushing.
Flush dirty content out to the drive. This fails with error 33 if the file content is virgin. Opening a file for ReadWriteExists followed by a flush() will cause this.
Flush dirty content out to the drive.
Resize the file and return the remapped content. Usage of map() is not required following this call.
Return a slice representing file content as a memory-mapped array.
Return a slice representing file content as a memory-mapped array. Use this to remap content each time the file size is changed.