Artemis.Utilities.Memory.Memory.ReadInt32 C# (CSharp) Method

ReadInt32() public method

Reads 32 bit signed integer at the address
public ReadInt32 ( IntPtr address ) : int
address System.IntPtr Memory address
return int
        public int ReadInt32(IntPtr address)
        {
            var buffer = new byte[4];
            ReadMemory(address, buffer, 4);
            return BitConverter.ToInt32(buffer, 0);
        }