Property | Type | Description | |
---|---|---|---|
HeaderSize | uint | ||
NativeStream | |||
OwnsStream | bool |
Property | Type | Description | |
---|---|---|---|
Cache | |||
Handle | |||
HeaderView | |||
StreamCapacity | long |
Method | Description | |
---|---|---|
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 ( |
Method | Description | |
---|---|---|
CreateHandles ( long capacity ) : void | ||
EnsureCapacity ( long capacity ) : void | ||
GetTotalLength ( ) : long |
Method | Description | |
---|---|---|
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 | |
return |
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 | |
return |
public AllocateSpace ( uint size ) : long? | ||
size | uint | The number of bytes to allocate. |
return | long? |
protected CreateHandles ( long capacity ) : void | ||
capacity | long | |
return | void |
protected EnsureCapacity ( long capacity ) : void | ||
capacity | long | |
return | void |
public StreamRef ( |
||
nativeStream | ||
ownsStream | bool | |
return | System |
protected ViewCache,Squared.Data.Mangler.Internal Cache | ||
return |
protected MemoryMappedFile,System.IO.MemoryMappedFiles Handle | ||
return |
protected MemoryMappedViewAccessor,System.IO.MemoryMappedFiles HeaderView | ||
return |
public FileStream,System.IO NativeStream | ||
return |