Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ InternalReadByte()

byte System.IO.BinaryReader.InternalReadByte ( )
inlineprivateinherited

Definition at line 170 of file BinaryReader.cs.

171 {
173 int num = _stream.ReadByte();
174 if (num == -1)
175 {
176 ThrowHelper.ThrowEndOfFileException();
177 }
178 return (byte)num;
179 }
readonly Stream _stream
virtual int ReadByte()
Definition Stream.cs:994

References System.IO.BinaryReader._stream, System.IO.Stream.ReadByte(), System.ThrowHelper.ThrowEndOfFileException(), and System.IO.BinaryReader.ThrowIfDisposed().

Referenced by System.IO.BinaryReader.ReadBoolean(), System.IO.BinaryReader.ReadByte(), and System.IO.BinaryReader.ReadSByte().