| Modifier and Type | Field and Description |
|---|---|
| public static final NonStrictUTF8Encoding | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isCodeCType(int
a code point of a character code, int a character type to check against
Oniguruma equivalent: ctype)
Perform a check whether given code is of given character type (e.g. used by isWord(someByte) and similar methods)
is_code_ctype |
| public int | length(byte[] bytes, int p, int end)
Implements abstract org. 1 for singlebyte encodings or performs sanity validations for multibyte ones
and returns the character length, missing characters in the stream otherwise
|
| INSTANCE | back to summary |
|---|---|
| public static final NonStrictUTF8Encoding INSTANCE | |
| UTF8EncLen | back to summary |
|---|---|
| private static final int[] UTF8EncLen | |
| NonStrictUTF8Encoding | back to summary |
|---|---|
| protected NonStrictUTF8Encoding() | |
| isCodeCType | back to summary |
|---|---|
| public boolean isCodeCType(int code, int ctype) Overrides org. Doc from org. Perform a check whether given code is of given character type (e.g. used by isWord(someByte) and similar methods)
| |
| length | back to summary |
|---|---|
| public int length(byte[] bytes, int p, int end) Implements abstract org. Doc from org. Returns character length given stream, character position and stream end
returns
| |