- toString
- <init>
Construct from a byte array.
- getBytes
Returns the raw bytes; however, only data up to #getLength() is valid. Please
use #copyBytes() if yo
- getLength
Get the number of bytes in the byte array.
- decode
Converts the provided byte array to a String using the UTF-8 encoding. If
replace is true, then mal
- bytesToCodePoint
Returns the next code point at the current position in the buffer. The buffer's
position will be inc
- encode
Converts the provided String to bytes using the UTF-8 encoding. If replace is
true, then malformed i
- find
Finds any occurrence of what in the backing buffer, starting as positionstart.
The starting position
- setCapacity
Sets the capacity of this Text object to at least len bytes. If the current
buffer is longer, then t
- validateUTF8
Check to see if a byte array is valid utf-8.