Data Ref
This class wraps a DirectByteBuffer, which allows memory sharing between native and the JVM. It's safe to access the wrapped Bytebuffer even if the buffer itself outlives its DataRef wrapper.
This class wraps a DirectByteBuffer, which allows memory sharing between native and the JVM. It's safe to access the wrapped Bytebuffer even if the buffer itself outlives its DataRef wrapper.