| Modifier and Type | Field and Description |
|---|---|
| private static final byte |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static char[] | |
| public static char[] | |
| private static char[] | |
| private static int | |
| public static int | |
| public static int | utf8Bytes(final char[] seq, int start, int end)
This method is producing the exact length according to |
| private static int | |
| public static int | |
| public static int | Returns: actual number of bytes writtenEquivalent to |
| pack-priv static int | |
| private static int |
| WRITE_UTF_UNKNOWN | back to summary |
|---|---|
| private static final byte WRITE_UTF_UNKNOWN | |
| CharByteBufUtil | back to summary |
|---|---|
| private CharByteBufUtil() | |
| checkCharSequenceBounds | back to summary |
|---|---|
| private static char[] checkCharSequenceBounds(char[] seq, int start, int end) | |
| readUtf8 | back to summary |
|---|---|
| public static char[] readUtf8(ByteBuf byteBuf, int length) | |
| safeTrim | back to summary |
|---|---|
| private static char[] safeTrim(char[] ca, int len) | |
| utf8ByteCount | back to summary |
|---|---|
| private static int utf8ByteCount(final char[] seq, int start, int end) | |
| utf8Bytes | back to summary |
|---|---|
| public static int utf8Bytes(final char[] seq) Returns the exact bytes length of UTF8 character sequence. This method is producing the exact length according to | |
| utf8Bytes | back to summary |
|---|---|
| public static int utf8Bytes(final char[] seq, int start, int end) This method is producing the exact length according to | |
| utf8BytesNonAscii | back to summary |
|---|---|
| private static int utf8BytesNonAscii(final char[] seq, final int start, final int end) | |
| writeUtf8 | back to summary |
|---|---|
| public static int writeUtf8(ByteBuf buf, char[] seq) Encode a This method returns the actual number of bytes written. | |
| writeUtf8 | back to summary |
|---|---|
| public static int writeUtf8(ByteBuf buf, char[] seq, int start, int end) Equivalent to
| |
| writeUtf8 | back to summary |
|---|---|
| pack-priv static int writeUtf8(ByteBuf buffer, int writerIndex, char[] seq, int start, int end) | |
| writeUtf8Surrogate | back to summary |
|---|---|
| private static int writeUtf8Surrogate(ByteBuf buffer, int writerIndex, char c, char c2) | |