Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
MemoryDebugView.cs
Go to the documentation of this file.
2
3namespace System;
4
5internal sealed class MemoryDebugView<T>
6{
7 private readonly ReadOnlyMemory<T> _memory;
8
9 [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
10 public T[] Items => _memory.ToArray();
11
13 {
14 _memory = memory;
15 }
16
18 {
19 _memory = memory;
20 }
21}
MemoryDebugView(Memory< T > memory)
readonly ReadOnlyMemory< T > _memory
MemoryDebugView(ReadOnlyMemory< T > memory)