| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static byte[] | |
| public static byte[] | |
| public static void | |
| private static byte[] | |
| private static int |
| EMPTY_ARRAY | back to summary |
|---|---|
| private static final byte[] EMPTY_ARRAY | |
| Utf8Utils | back to summary |
|---|---|
| public Utf8Utils() | |
| copyOf | back to summary |
|---|---|
| private static byte[] copyOf(byte[] original, int newLength) | |
| encode | back to summary |
|---|---|
| public static byte[] encode(Charset charset, String string) | |
| encode | back to summary |
|---|---|
| public static void encode(Charset charset, String string, OutputStream os) throws IOException | |
| safeTrim | back to summary |
|---|---|
| private static byte[] safeTrim(byte[] ba, int len) | |
| scale | back to summary |
|---|---|
| private static int scale(int len, float expansionFactor) | |