public void WriteBytes(IntPtr pointer, byte[] data) { IntPtr outP; ExternalDllMethods.WriteProcessMemory(pHandle, pointer, data, data.Length, out outP); }
public void WriteFloat(int pointer, float data) { IntPtr outP; ExternalDllMethods.WriteProcessMemory(pHandle, new IntPtr(pointer), BitConverter.GetBytes(data), 4, out outP); }