Class CodePointBuffer
java.lang.Object
org.graalvm.shadowed.org.antlr.v4.runtime.CodePointBuffer
Wrapper for
ByteBuffer / CharBuffer / IntBuffer.
Because Java lacks generics on primitive types, these three types
do not share an interface, so we have to write one manually.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic CodePointBuffer.Builderbuilder(int initialBufferSize) intget(int offset) intposition()voidposition(int newPosition) intstatic CodePointBufferwithBytes(ByteBuffer byteBuffer) static CodePointBufferwithChars(CharBuffer charBuffer) static CodePointBuffer
-
Method Details
-
withBytes
-
withChars
-
withInts
-
position
public int position() -
position
public void position(int newPosition) -
remaining
public int remaining() -
get
public int get(int offset) -
builder
-