Use JNI instead of JNA to call native code?
JNA does not support mapping of c++ classes, so if you’re using c++ library you will need a jni wrapper If you need a lot of memory copying. For example, you call one method which returns you a large byte buffer, you change something in it, then you need to call another method which uses … Read more