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