Свойство | Тип | Описание | |
---|---|---|---|
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? |
protected CreateHandles ( long capacity ) : void | ||
capacity | long | |
Результат | void |
protected EnsureCapacity ( long capacity ) : void | ||
capacity | long | |
Результат | void |
public StreamRef ( |
||
nativeStream | ||
ownsStream | bool | |
Результат | System |
protected ViewCache,Squared.Data.Mangler.Internal Cache | ||
Результат |
protected MemoryMappedFile,System.IO.MemoryMappedFiles Handle | ||
Результат |
protected MemoryMappedViewAccessor,System.IO.MemoryMappedFiles HeaderView | ||
Результат |
public FileStream,System.IO NativeStream | ||
Результат |