RingDotNetfor Ring

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

NameTypeAccessIn Ring
SafeMemoryMappedFileHandleSafeMemoryMappedFileHandlereado.SafeMemoryMappedFileHandle

Methods

MethodRing call.NET overloads
CreateFromFileCreateFromFile(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)
CreateNewCreateNew([ :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)
CreateOrOpenCreateOrOpen([ :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)
CreateViewAccessorCreateViewAccessor(NULL)
CreateViewAccessor([ :offset = …, :size = … ])
CreateViewAccessor([ :offset = …, :size = …, :access = … ])
MemoryMappedViewAccessor CreateViewAccessor()
MemoryMappedViewAccessor CreateViewAccessor(long offset, long size)
MemoryMappedViewAccessor CreateViewAccessor(long offset, long size, MemoryMappedFileAccess access)
CreateViewStreamCreateViewStream(NULL)
CreateViewStream([ :offset = …, :size = … ])
CreateViewStream([ :offset = …, :size = …, :access = … ])
MemoryMappedViewStream CreateViewStream()
MemoryMappedViewStream CreateViewStream(long offset, long size)
MemoryMappedViewStream CreateViewStream(long offset, long size, MemoryMappedFileAccess access)
DisposecallMethod("Dispose",[])void Dispose()
OpenExistingOpenExisting(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

NameTypeAccessIn Ring
SafeMemoryMappedViewHandleSafeMemoryMappedViewHandlereado.SafeMemoryMappedViewHandle
PointerOffsetlongreado.PointerOffset

Methods

MethodRing call.NET overloads
FlushcallMethod("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

NameTypeAccessIn Ring
SafeMemoryMappedViewHandleSafeMemoryMappedViewHandlereado.SafeMemoryMappedViewHandle
PointerOffsetlongreado.PointerOffset

Methods

MethodRing call.NET overloads
FlushcallMethod("Flush",[])void Flush()
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)

Members of the base class are inherited.