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

◆ WriteByte()

override void System.IO.FileStream.WriteByte ( byte value)
inlinevirtualinherited

Reimplemented from System.IO.Stream.

Definition at line 291 of file FileStream.cs.

292 {
293 bool isClosed = this.safeHandle.IsClosed;
294 int num = this.buf_offset;
295 int num2 = this.buf_size;
296 this.FlushBuffer();
297 int num3 = this.buf_size;
298 byte[] array = this.buf;
299 if (num3 != 0)
300 {
301 int num4 = this.buf_length;
302 long num5 = this.buf_start;
303 this.buf_length = (int)num5;
304 int num6 = 1;
305 this.buf_dirty = num6 != 0;
306 return;
307 }
308 int num7 = 1;
309 this.buf_dirty = num7 != 0;
311 this.FlushBuffer();
312 }
class f__AnonymousType0<< Count > j__TPar
SafeFileHandle safeHandle

References System.array, System.IO.FileStream.buf, System.IO.FileStream.buf_length, System.IO.FileStream.buf_offset, System.IO.FileStream.buf_size, System.IO.FileStream.buf_start, System.IO.FileStream.FlushBuffer(), System.Runtime.InteropServices.SafeHandle.IsClosed, j__TPar, and System.IO.FileStream.safeHandle.