terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ AppendChunk()

void System.IO.ChunkedMemoryStream.AppendChunk ( long count)
inlineprivate

Definition at line 76 of file ChunkedMemoryStream.cs.

77 {
79 if (currentChunk != null)
80 {
81 byte[] buffer = currentChunk._buffer;
82 return;
83 }
84 int num = 16;
85 long num2 = Math.Min(count, (long)num);
86 }
class f__AnonymousType0<< Count > j__TPar
ChunkedMemoryStream.MemoryChunk _currentChunk
static byte Min(byte val1, byte val2)
Definition Math.cs:152

References System.IO.ChunkedMemoryStream.MemoryChunk._buffer, System.IO.ChunkedMemoryStream._currentChunk, System.count, j__TPar, and System.Math.Min().

Referenced by System.IO.ChunkedMemoryStream.SetLength(), and System.IO.ChunkedMemoryStream.Write().