Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.IO.MemoryMappedFiles.MemoryMappedView Class Referencesealed

Public Member Functions

void Dispose ()
 
unsafe void Flush (UIntPtr capacity)
 

Static Public Member Functions

static MemoryMappedView CreateView (SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, long offset, long size)
 

Properties

SafeMemoryMappedViewHandle ViewHandle [get]
 
long PointerOffset [get]
 
long Size [get]
 
MemoryMappedFileAccess Access [get]
 
bool IsClosed [get]
 

Private Member Functions

 MemoryMappedView (SafeMemoryMappedViewHandle viewHandle, long pointerOffset, long size, MemoryMappedFileAccess access)
 
void Dispose (bool disposing)
 

Static Private Member Functions

static void ValidateSizeAndOffset (long size, long offset, long allocationGranularity, out ulong newSize, out long extraMemNeeded, out long newOffset)
 
static int GetSystemPageAllocationGranularity ()
 

Private Attributes

readonly SafeMemoryMappedViewHandle _viewHandle
 
readonly long _pointerOffset
 
readonly long _size
 
readonly MemoryMappedFileAccess _access
 

Detailed Description

Definition at line 7 of file MemoryMappedView.cs.


The documentation for this class was generated from the following file: