Unrelated to conversion, I have also changed (*Thread).readMemory to return only first count bytes of memory just as advised by ReadProcessMemory. Fixes #409 Fixes #412 Fixes #416
I was hoping this will fix the issue below. But there is more code that break new cgo rules. Fixes #409 (partial)