public final class Utf8
extends java.lang.Object
For internal use only.
Constructor and Description |
---|
Utf8() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decode(byte[] bytes)
Decode the bytes in UTF-8 form into a String.
|
static byte[] |
encode(java.lang.CharSequence string)
Get the bytes of the String in UTF-8 encoded form.
|