Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Memory< T > Struct Template Reference

Public Member Functions

 Memory (T[]? array)
 
 Memory (T[]? array, int start, int length)
 
override string ToString ()
 
Memory< TSlice (int start)
 
Memory< TSlice (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 (Memory< T > other)
 
override int GetHashCode ()
 
bool Equals (T? other)
 

Static Public Member Functions

static implicit operator Memory< T > (T[]? array)
 
static implicit operator Memory< T > (ArraySegment< T > segment)
 
static implicit operator ReadOnlyMemory< T > (Memory< T > memory)
 

Package Functions

 Memory (T[] array, int start)
 
 Memory (MemoryManager< T > manager, int length)
 
 Memory (MemoryManager< T > manager, int start, int length)
 
 Memory (object obj, int start, int length)
 

Properties

static Memory< TEmpty [get]
 
int Length [get]
 
bool IsEmpty [get]
 
unsafe Span< TSpan [get]
 

Private Attributes

readonly object _object
 
readonly int _index
 
readonly int _length
 

Detailed Description

Definition at line 13 of file Memory.cs.


The documentation for this struct was generated from the following file: