Data.Vector.Storable.MMap
Documentation
data Mode
Mode of mapping. Four cases are supported.
Constructors
| ReadOnly | file is mapped read-only, file must exist |
| ReadWrite | file is mapped read-write, file must exist |
| WriteCopy | file is mapped read-write, but changes aren't propagated to disk, file must exist |
| ReadWriteEx | file is mapped read-write, if file does not exist it will be created with default permissions, region parameter specifies size, if file size is lower it will be extended with zeros |