MiscUtil.IO.EndianBinaryReader.ReadByte C# (CSharp) Method

ReadByte() public method

Reads a single byte from the stream.
public ReadByte ( ) : byte
return byte
        public byte ReadByte()
        {
            ReadInternal(buffer, 1);
            return buffer[0];
        }

Usage Example

Example #1
0
 protected override void Parse(EndianBinaryReader r)
 {
     Locale = ReadString8(r);
     ViewDistance = r.ReadByte();
     ChatFlags = r.ReadByte();
     ChatColors = r.ReadBoolean();
     DisplayedSkinParts = r.ReadByte();
 }
All Usage Examples Of MiscUtil.IO.EndianBinaryReader::ReadByte