Class BytesTrie.Entry
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.util.BytesTrie.Entry
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbytebyteAt(int index) Returns a byte of the byte sequence.intvoidcopyBytesTo(byte[] dest, int destOffset) Copies the byte sequence into a byte array.
-
Field Details
-
value
public int valueThe value associated with the byte sequence.
-
-
Method Details
-
bytesLength
public int bytesLength()- Returns:
- The length of the byte sequence.
-
byteAt
public byte byteAt(int index) Returns a byte of the byte sequence.- Parameters:
index- An index into the byte sequence.- Returns:
- The index-th byte sequence byte.
-
copyBytesTo
public void copyBytesTo(byte[] dest, int destOffset) Copies the byte sequence into a byte array.- Parameters:
dest- Destination byte array.destOffset- Starting offset to where in dest the byte sequence is copied.
-
bytesAsByteBuffer
- Returns:
- The byte sequence as a read-only ByteBuffer.
-