Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToEnumerable< T >()

static IEnumerable< T > System.Runtime.InteropServices.MemoryMarshal.ToEnumerable< T > ( ReadOnlyMemory< T > memory)
inlinestatic

Definition at line 220 of file MemoryMarshal.cs.

221 {
222 for (int i = 0; i < memory.Length; i++)
223 {
224 yield return memory.Span[i];
225 }
226 }