Package com.ibm.icu.util
Class BytesTrie.Entry
- java.lang.Object
-
- com.ibm.icu.util.BytesTrie.Entry
-
-
Field Summary
Fields Modifier and Type Field Description intvalueThe value associated with the byte sequence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytebyteAt(int index)Returns a byte of the byte sequence.ByteBufferbytesAsByteBuffer()intbytesLength()voidcopyBytesTo(byte[] dest, int destOffset)Copies the byte sequence into a byte array.
-
-
-
Method Detail
-
bytesLength
public int bytesLength()
- Returns:
- The length of the byte sequence.
- Status:
- Stable ICU 4.8.
-
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.
- Status:
- Stable ICU 4.8.
-
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.- Status:
- Stable ICU 4.8.
-
bytesAsByteBuffer
public ByteBuffer bytesAsByteBuffer()
- Returns:
- The byte sequence as a read-only ByteBuffer.
- Status:
- Stable ICU 4.8.
-
-