Wraps Win32 APIs for reading and writing to a process' memory. Tuned specifically to Halo PC.
Exemple #1
0
        override protected byte[] readBytes(int offset, int size)
        {
            byte[] buf    = new byte[size];
            var    result = HaloInterop.ReadHaloMemory((IntPtr)_baOffset + offset, buf, size);

            return(buf);
        }
Exemple #2
0
 override protected void writeBytes(int offset, byte[] data)
 {
     HaloInterop.WriteHaloMemory((IntPtr)_baOffset + offset, data, data.Length);
 }