프로퍼티 | 타입 | 설명 | |
---|---|---|---|
HeaderSize | uint | ||
NativeStream | |||
OwnsStream | bool |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Cache | |||
Handle | |||
HeaderView | |||
StreamCapacity | long |
메소드 | 설명 | |
---|---|---|
AccessRange ( long offset, uint size, MemoryMappedFileAccess access = MemoryMappedFileAccess.ReadWrite ) : |
Accesses a range of bytes within the stream.
|
|
AccessRangeUncached ( long offset, uint size, MemoryMappedFileAccess access = MemoryMappedFileAccess.ReadWrite ) : |
Accesses a range of bytes within the stream, bypassing the stream cache.
|
|
AllocateSpace ( uint size ) : long? |
Allocates size byte(s) of unused space at the end of the stream.
|
|
Clear ( ) : void | ||
Dispose ( ) : void | ||
FlushCache ( ) : void | ||
Shrink ( int size ) : long | ||
StreamRef ( |
메소드 | 설명 | |
---|---|---|
CreateHandles ( long capacity ) : void | ||
EnsureCapacity ( long capacity ) : void | ||
GetTotalLength ( ) : long |
메소드 | 설명 | |
---|---|---|
AccessHeader ( ) : |
||
DisposeViews ( ) : void |
public AccessRange ( long offset, uint size, MemoryMappedFileAccess access = MemoryMappedFileAccess.ReadWrite ) : |
||
offset | long | The offset within the stream, relative to the end of the stream header. |
size | uint | The size of the range to access, in bytes. |
access | MemoryMappedFileAccess | |
리턴 |
public AccessRangeUncached ( long offset, uint size, MemoryMappedFileAccess access = MemoryMappedFileAccess.ReadWrite ) : |
||
offset | long | The offset within the stream, relative to the end of the stream header. |
size | uint | The size of the range to access, in bytes. |
access | MemoryMappedFileAccess | |
리턴 |
public AllocateSpace ( uint size ) : long? | ||
size | uint | The number of bytes to allocate. |
리턴 | long? |
public StreamRef ( |
||
nativeStream | ||
ownsStream | bool | |
리턴 | System |
protected MemoryMappedFile,System.IO.MemoryMappedFiles Handle | ||
리턴 |
protected MemoryMappedViewAccessor,System.IO.MemoryMappedFiles HeaderView | ||
리턴 |