jvm :: JniEnv :: new_direct_byte_buffer
Java.nio.ByteBuffer
referring to address
with the given capacity
in bytesJNI function: NewDirectByteBuffer
# Create new `Java.nio.ByteBuffer` referring to `address` with the given `capacity` in bytes
#
# JNI function: NewDirectByteBuffer
fun new_direct_byte_buffer(address: Pointer, capacity: Int): Java_nio_ByteBuffer `{
return (*self)->NewDirectByteBuffer(self, address, capacity);
`}
lib/java/ffi_support.nit:253,2--258,3