ByteBuffer

actual class ByteBuffer
expect class ByteBuffer

Common wrapper for java.nio.ByteBuffer.

Can be used for accessing java.nio.ByteBuffer on Native targets.

actual class ByteBuffer

Wrapper around a direct byte buffer address.

Use this in @JniConnect annotated functions to represent a java.nio.ByteBuffer.

Constructors

Link copied to clipboard
constructor(jvmBuffer: ByteBuffer)
constructor(address: CPointer<ByteVar>, size: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Long

Functions

Link copied to clipboard

Convert a native wrapper binding.ByteBuffer to a jobject representing the same binding.ByteBuffer.