Skip to main content

NativeByteBuffer

Complete API reference for NativeByteBuffer, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Buffers

Component: no


public class NativeByteBuffer

Constructors

SignatureDescription
NativeByteBuffer(NativeByteBuffer)Executes NativeByteBuffer and returns after the underlying engine call finishes.
NativeByteBuffer(Engine)Executes NativeByteBuffer and returns after the underlying engine call finishes.
NativeByteBuffer(int)Creates a new instance of NativeByteBuffer.

Attributes

NameTypeDescription
bufferNativeByteBufferRepresents the buffer value stored on this instance. Read or assign to update the property.

Methods

SignatureReturnsDescription
get(int)byteReturns the current value.
set(int, byte)voidSets or updates the the value.
put(byte)voidSets or updates the the value.
capacity()intExecutes capacity and returns after the underlying engine call finishes.
getPosition()intReturns the current position.
Position(int)voidPerforms the Position operation using the provided parameters (idx).
setPosition(int)voidSets or updates the position.