Skip to main content

NativeIntBuffer

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

Package: JAVARuntime

Category: Buffers

Component: no


public class NativeIntBuffer

Constructors

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

Attributes

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

Methods

SignatureReturnsDescription
get(int)intReturns the current value.
set(int, int)voidSets or updates the the value.
put(int)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.