Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | Initialize (ulong numBytes) |
void | Initialize (uint numElements, uint sizeOfEachElement) |
void | Initialize< T > (uint numElements) |
unsafe void | AcquirePointer (ref byte *pointer) |
void | ReleasePointer () |
unsafe T | Read< T > (ulong byteOffset) |
void | ReadArray< T > (ulong byteOffset, T[] array, int index, int count) |
unsafe void | ReadSpan< T > (ulong byteOffset, Span< T > buffer) |
unsafe void | Write< T > (ulong byteOffset, T value) |
void | WriteArray< T > (ulong byteOffset, T[] array, int index, int count) |
unsafe void | WriteSpan< T > (ulong byteOffset, ReadOnlySpan< T > data) |
IntPtr | DangerousGetHandle () |
void | Close () |
void | Dispose () |
void | SetHandleAsInvalid () |
void | DangerousAddRef (ref bool success) |
void | DangerousRelease () |
Static Public Member Functions | |
static UnmanagedBuffer | Allocate (int byteLength) |
Protected Member Functions | |
unsafe override bool | ReleaseHandle () |
virtual void | Dispose (bool disposing) |
Protected Attributes | |
IntPtr | handle |
Package Functions | |
void | SetHandle (IntPtr handle) |
Static Package Functions | |
static unsafe void | Copy (UnmanagedBuffer source, UnmanagedBuffer destination, ulong bytesLength) |
static uint | AlignedSizeOf< T > () |
static uint | SizeOf< T > () |
Properties | |
static nuint | Uninitialized [get] |
ulong | ByteLength [get] |
override bool | IsInvalid [get] |
bool | OwnsHandle [get] |
bool | IsClosed [get] |
Private Member Functions | |
UnmanagedBuffer () | |
unsafe void | SpaceCheck (byte *ptr, nuint sizeInBytes) |
void | InternalRelease (bool disposeOrFinalizeOperation) |
Static Private Member Functions | |
static void | NotEnoughRoom () |
static InvalidOperationException | NotInitialized () |
Private Attributes | |
int | _byteLength |
nuint | _numBytes |
volatile int | _state |
readonly bool | _ownsHandle |
volatile bool | _fullyInitialized |
Definition at line 9 of file SecureString.cs.