Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReadBufferState.cs
Go to the documentation of this file.
2
4
5internal struct ReadBufferState : IDisposable
6{
7 public byte[] Buffer;
8
9 public int BytesInBuffer;
10
11 public int ClearMax;
12
13 public bool IsFirstIteration;
14
15 public bool IsFinalBlock;
16
24
25 public void Dispose()
26 {
28 byte[] buffer = Buffer;
29 Buffer = null;
31 }
32}
static ArrayPool< T > Shared
Definition ArrayPool.cs:7
static byte Max(byte val1, byte val2)
Definition Math.cs:738
static ReadOnlySpan< byte > Utf8Bom
unsafe void Clear()
Definition Span.cs:198