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

◆ ReadByte()

unsafe override int System.IO.UnmanagedMemoryStream.ReadByte ( )
inlinevirtualinherited

Reimplemented from System.IO.Stream.

Definition at line 298 of file UnmanagedMemoryStream.cs.

299 {
300 this.EnsureNotClosed();
301 this.EnsureReadable();
302 long num = 0L;
303 long num3;
305 SafeBuffer buffer = this._buffer;
306 if (buffer != null)
307 {
310 long offset = this._offset;
311 long num4 = 0L;
312 int num5 = 4;
313 if (buffer != null)
314 {
316 buffer3.ReleasePointer();
317 }
318 if (num4 != 0L || num5 != 0)
319 {
320 goto IL_0068;
321 }
322 }
323 byte* mem = this._mem;
324 IL_0068:
325 throw new OutOfMemoryException();
326 }
class f__AnonymousType0<< Count > j__TPar
static int Exchange(int location1, int value)
static long Read(long location)

References System.IO.UnmanagedMemoryStream._buffer, System.IO.UnmanagedMemoryStream._mem, System.IO.UnmanagedMemoryStream._offset, System.IO.UnmanagedMemoryStream.EnsureNotClosed(), System.IO.UnmanagedMemoryStream.EnsureReadable(), System.Threading.Interlocked.Exchange(), j__TPar, System.L, System.offset, System.Runtime.CompilerServices.RuntimeHelpers.PrepareConstrainedRegions(), System.Threading.Interlocked.Read(), and System.Runtime.InteropServices.SafeBuffer.ReleasePointer().