Hi,
My requirement is to use Direct Buffers and share a common memory between Java and C++.
I have created a ByteBuffer in java using allocateDirect and sent the same to JNI. In JNI i have called GetDirectBuffer Address() and got the address of ByteBuffer and sent the same to my C++ library as char* through SetByteBuffer() function.
Now i have to do getByteBuffer() from Java, which should return me the...