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

◆ InternalReadChars()

int System.IO.BinaryReader.InternalReadChars ( char[] buffer,
int index,
int count )
inlineprivate

Definition at line 477 of file BinaryReader.cs.

478 {
479 if (this.m_charBytes == null)
480 {
481 }
482 if (this.m_decoder != null)
483 {
484 }
485 bool 2BytesPerChar = this.m_2BytesPerChar;
486 if (this.m_isMemoryStream)
487 {
488 Stream stream = this.m_stream;
489 int num;
490 if (num == 0)
491 {
492 return num;
493 }
494 }
495 else
496 {
497 Stream stream2 = this.m_stream;
498 byte[] charBytes = this.m_charBytes;
499 if (stream2 == null)
500 {
501 goto IL_004D;
502 }
503 }
504 Decoder decoder = this.m_decoder;
505 IL_004D:
506 return "byteCount";
507 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, System.IO.BinaryReader.m_2BytesPerChar, System.IO.BinaryReader.m_charBytes, System.IO.BinaryReader.m_decoder, System.IO.BinaryReader.m_isMemoryStream, and System.IO.BinaryReader.m_stream.