avoid generating the named function trampoline in method callers and optimize integer readFromPointer (i have not run tests)