Skip to main content

NativeCharBuffer

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

Package: JAVARuntime

Category: Buffers

Component: no


public class NativeCharBuffer

Constructors

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

Attributes

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

Methods

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