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

WriteInt32() public method

Writes 32 bit signed integer at the address
public WriteInt32 ( IntPtr address, int value ) : void
address System.IntPtr Memory address
value int Value
return void
        public void WriteInt32(IntPtr address, int value)
        {
            var buffer = BitConverter.GetBytes(value);
            WriteMemory(address, buffer, 4);
        }