ZombieAPI.RemoteMemory.ReadInternal C# (CSharp) Method

ReadInternal() private method

private ReadInternal ( int amount ) : byte[]
amount int
return byte[]
        byte[] ReadInternal(int amount)
        {
            uint read = 0;
            byte[] ret = new byte[amount];
            int x = I.ReadProcessMemory(_phandle, (IntPtr)Position, ret, (uint)amount, out read);
            if (_debug)
            {
                Console.Write("[ReadInternal] Reading from " + _position + " : ");
                PrintBytes(ret);
                Console.WriteLine(amount + "/" + read);
            }
            _position = _position + amount;
            return ret;
        }