MiscUtil.IO.EndianBinaryReader.ReadInt32 C# (CSharp) 메소드

ReadInt32() 공개 메소드

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

Usage 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