System.IO.MemoryMappedFiles
3 wrapped types. Load them with using { "System.IO.MemoryMappedFiles" }. Click a class to open it.
MemoryMappedFile class
System.IO.MemoryMappedFiles.MemoryMappedFile · assembly System.IO.MemoryMappedFiles
Implements: IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SafeMemoryMappedFileHandle | SafeMemoryMappedFileHandle | read | o.SafeMemoryMappedFileHandle |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateFromFile | CreateFromFile(value)CreateFromFile([ :path = … ])CreateFromFile([ :path = …, :mode = … ])CreateFromFile([ :path = …, :mode = …, :mapName = … ])CreateFromFile([ :path = …, :mode = …, :mapName = …, :capacity = … ]) | static MemoryMappedFile CreateFromFile(string path)static MemoryMappedFile CreateFromFile(string path, FileMode mode)static MemoryMappedFile CreateFromFile(string path, FileMode mode, string mapName)static MemoryMappedFile CreateFromFile(string path, FileMode mode, string mapName, long capacity)static MemoryMappedFile CreateFromFile(string path, FileMode mode, string mapName, long capacity, MemoryMappedFileAccess access)static MemoryMappedFile CreateFromFile(SafeFileHandle fileHandle, string mapName, long capacity, MemoryMappedFileAccess access, HandleInheritability inheritability, bool leaveOpen)static MemoryMappedFile CreateFromFile(FileStream fileStream, string mapName, long capacity, MemoryMappedFileAccess access, HandleInheritability inheritability, bool leaveOpen) |
CreateNew | CreateNew([ :mapName = …, :capacity = … ])CreateNew([ :mapName = …, :capacity = …, :access = … ])CreateNew([ :mapName = …, :capacity = …, :access = …, :options = …, :inheritability = … ]) | static MemoryMappedFile CreateNew(string mapName, long capacity)static MemoryMappedFile CreateNew(string mapName, long capacity, MemoryMappedFileAccess access)static MemoryMappedFile CreateNew(string mapName, long capacity, MemoryMappedFileAccess access, MemoryMappedFileOptions options, HandleInheritability inheritability) |
CreateOrOpen | CreateOrOpen([ :mapName = …, :capacity = … ])CreateOrOpen([ :mapName = …, :capacity = …, :access = … ])CreateOrOpen([ :mapName = …, :capacity = …, :access = …, :options = …, :inheritability = … ]) | static MemoryMappedFile CreateOrOpen(string mapName, long capacity)static MemoryMappedFile CreateOrOpen(string mapName, long capacity, MemoryMappedFileAccess access)static MemoryMappedFile CreateOrOpen(string mapName, long capacity, MemoryMappedFileAccess access, MemoryMappedFileOptions options, HandleInheritability inheritability) |
CreateViewAccessor | CreateViewAccessor(NULL)CreateViewAccessor([ :offset = …, :size = … ])CreateViewAccessor([ :offset = …, :size = …, :access = … ]) | MemoryMappedViewAccessor CreateViewAccessor()MemoryMappedViewAccessor CreateViewAccessor(long offset, long size)MemoryMappedViewAccessor CreateViewAccessor(long offset, long size, MemoryMappedFileAccess access) |
CreateViewStream | CreateViewStream(NULL)CreateViewStream([ :offset = …, :size = … ])CreateViewStream([ :offset = …, :size = …, :access = … ]) | MemoryMappedViewStream CreateViewStream()MemoryMappedViewStream CreateViewStream(long offset, long size)MemoryMappedViewStream CreateViewStream(long offset, long size, MemoryMappedFileAccess access) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
OpenExisting | OpenExisting(value)OpenExisting([ :mapName = … ])OpenExisting([ :mapName = …, :desiredAccessRights = … ])OpenExisting([ :mapName = …, :desiredAccessRights = …, :inheritability = … ]) | static MemoryMappedFile OpenExisting(string mapName)static MemoryMappedFile OpenExisting(string mapName, MemoryMappedFileRights desiredAccessRights)static MemoryMappedFile OpenExisting(string mapName, MemoryMappedFileRights desiredAccessRights, HandleInheritability inheritability) |
MemoryMappedViewAccessor class sealed · extends UnmanagedMemoryAccessor
System.IO.MemoryMappedFiles.MemoryMappedViewAccessor · assembly System.IO.MemoryMappedFiles
Implements: IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SafeMemoryMappedViewHandle | SafeMemoryMappedViewHandle | read | o.SafeMemoryMappedViewHandle |
PointerOffset | long | read | o.PointerOffset |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Flush | callMethod("Flush",[]) | void Flush() |
Members of the base class are inherited.
MemoryMappedViewStream class sealed · extends UnmanagedMemoryStream
System.IO.MemoryMappedFiles.MemoryMappedViewStream · assembly System.IO.MemoryMappedFiles
Implements: IDisposable, IAsyncDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SafeMemoryMappedViewHandle | SafeMemoryMappedViewHandle | read | o.SafeMemoryMappedViewHandle |
PointerOffset | long | read | o.PointerOffset |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Flush | callMethod("Flush",[]) | void Flush() |
SetLength | callMethod("SetLength",[p1]) | void SetLength(long value) |
Members of the base class are inherited.