Modifier and Type | Field | Description |
---|---|---|
int |
value |
The value associated with the byte sequence.
|
Modifier and Type | Method | Description |
---|---|---|
byte |
byteAt(int index) |
Returns a byte of the byte sequence.
|
ByteBuffer |
bytesAsByteBuffer() |
|
int |
bytesLength() |
|
void |
copyBytesTo(byte[] dest,
int destOffset) |
Copies the byte sequence into a byte array.
|
public int bytesLength()
public byte byteAt(int index)
index
- An index into the byte sequence.public void copyBytesTo(byte[] dest, int destOffset)
dest
- Destination byte array.destOffset
- Starting offset to where in dest the byte sequence is copied.public ByteBuffer bytesAsByteBuffer()
Copyright ? 2016 Unicode, Inc. and others.