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

ReadInt32() public method

Reads a 32-bit signed integer from the stream, using the bit converter for this reader. 4 bytes are read.
public ReadInt32 ( ) : int
return int
        public int ReadInt32()
        {
            ReadInternal(buffer, 4);
            return bitConverter.ToInt32(buffer, 0);
        }

Usage Example

Example #1
0
 protected override void Parse(EndianBinaryReader r)
 {
     X = r.ReadInt32();
     Z = r.ReadInt32();
     //int ArraySize = ReadVarInt(r);
     throw new NotImplementedException();
 }
All Usage Examples Of MiscUtil.IO.EndianBinaryReader::ReadInt32