Remove testing methods, add .getNativePointer() for direct memory access to ByteArrays (for use with C++ libraries)