public static void ReadMemory(IntPtr hProcess, ulong address, byte[] data, long index, int count) { var reader = new CachedHexStream(new ProcessHexStream(hProcess)); reader.Read(address, data, index, count); }