Class VariableLengthIntBuffer
java.lang.Object
com.oracle.truffle.api.nodes.serial.VariableLengthIntBuffer
Experimental API. May change without notice. Simple variable length unsigned int buffer backed by
a byte buffer.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVariableLengthIntBuffer
(byte[] array) VariableLengthIntBuffer
(ByteBuffer buffer) -
Method Summary
-
Field Details
-
NULL
public static final int NULL- See Also:
-
-
Constructor Details
-
VariableLengthIntBuffer
-
VariableLengthIntBuffer
public VariableLengthIntBuffer(byte[] array)
-
-
Method Details
-
getBuffer
Returns the backing byte buffer. -
getBytes
public byte[] getBytes() -
get
public int get() -
put
public void put(int i) -
hasRemaining
public boolean hasRemaining()
-