Artemis.Utilities.Memory.Memory.ReadInt32 C# (CSharp) Méthode

ReadInt32() public méthode

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