UDKExplorer.UDK.UDKObject.ReadInt32 C# (CSharp) Method

ReadInt32() public method

public ReadInt32 ( FileStream fs, int pos ) : int
fs FileStream
pos int
return int
        public int ReadInt32(FileStream fs, int pos)
        {
            fs.Seek(pos, SeekOrigin.Begin);
            byte[] buff = new byte[4];
            fs.Read(buff, 0, 4);
            return BitConverter.ToInt32(buff, 0);
        }