ME3Explorer.ClassViewer.ClassViewer.GetInt C# (CSharp) Method

GetInt() public method

public GetInt ( byte buff, int pos ) : int
buff byte
pos int
return int
        public int GetInt(byte[] buff, int pos)
        {
            if (pos < 0 || pos > buff.Length - 4)
                return 0;
            return BitConverter.ToInt32(buff, pos);
        }