Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
ReadOnlyMemory (T[]? array) | |
ReadOnlyMemory (T[]? array, int start, int length) | |
override string | ToString () |
ReadOnlyMemory< T > | Slice (int start) |
ReadOnlyMemory< T > | Slice (int start, int length) |
void | CopyTo (Memory< T > destination) |
bool | TryCopyTo (Memory< T > destination) |
unsafe MemoryHandle | Pin () |
T[] | ToArray () |
override bool | Equals ([NotNullWhen(true)] object? obj) |
bool | Equals (ReadOnlyMemory< T > other) |
override int | GetHashCode () |
bool | Equals (T? other) |
Static Public Member Functions | |
static implicit | operator ReadOnlyMemory< T > (T[]? array) |
static implicit | operator ReadOnlyMemory< T > (ArraySegment< T > segment) |
Package Functions | |
ReadOnlyMemory (object obj, int start, int length) | |
object | GetObjectStartLength (out int start, out int length) |
Static Package Attributes | |
const int | RemoveFlagsBitMask = int.MaxValue |
Properties | |
static ReadOnlyMemory< T > | Empty [get] |
int | Length [get] |
bool | IsEmpty [get] |
unsafe ReadOnlySpan< T > | Span [get] |
Private Attributes | |
readonly object | _object |
readonly int | _index |
readonly int | _length |
Definition at line 13 of file ReadOnlyMemory.cs.