| Modifier and Type | Field and Description |
|---|---|
| protected final byte[] | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public int | caseMap(IntHolder flagP, byte[] bytes, IntHolder pp, int end, byte[] to, int toP, int toEnd)
Implements abstract org. case_map
|
| public final int | codeToMbc(int code, byte[] bytes, int p)
Implements abstract org. |
| public int | codeToMbcLength(int code)
Implements abstract org. |
| public final int[] | ctypeCodeRange(int ctype, IntHolder sbOut)
Implements abstract org. |
| public final boolean | isReverseMatchAllowed(byte[] bytes, int p, int end)
Implements abstract org. |
| public final int | leftAdjustCharHead(byte[]
byte stream bytes, int position p, int stop s, int end end)Implements abstract org. |
| public int | length(byte
Character head
Oniguruma equivalent: c)mbc_enc_len
To be deprecated very soon (use length(byte[]bytes, int p, int end) version)Implements abstract org. |
| 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
|
| public int | mbcToCode(byte[] bytes, int p, int end)
Implements abstract org. |
| public int | strCodeAt(byte[] bytes, int p, int end, int index)
Implements abstract org. |
| public final int |
| LowerCaseTable | back to summary |
|---|---|
| protected final byte[] LowerCaseTable | |
| MAX_BYTE | back to summary |
|---|---|
| public static final int MAX_BYTE | |
| SingleByteEncoding | back to summary |
|---|---|
| protected SingleByteEncoding(String name, short[] CTypeTable, byte[] LowerCaseTable) | |
| caseMap | back to summary |
|---|---|
| public int caseMap(IntHolder flagP, byte[] bytes, IntHolder pp, int end, byte[] to, int toP, int toEnd) Implements abstract org. Doc from org. Oniguruma equivalent:
| |
| codeToMbc | back to summary |
|---|---|
| public final int codeToMbc(int code, byte[] bytes, int p) Implements abstract org. onigenc_single_byte_code_to_mbc
| |
| codeToMbcLength | back to summary |
|---|---|
| public int codeToMbcLength(int code) Implements abstract org. onigenc_single_byte_code_to_mbclen
| |
| ctypeCodeRange | back to summary |
|---|---|
| public final int[] ctypeCodeRange(int ctype, IntHolder sbOut) Implements abstract org. onigenc_not_support_get_ctype_code_range
| |
| isReverseMatchAllowed | back to summary |
|---|---|
| public final boolean isReverseMatchAllowed(byte[] bytes, int p, int end) Implements abstract org. onigenc_always_true_is_allowed_reverse_match
| |
| leftAdjustCharHead | back to summary |
|---|---|
| public final int leftAdjustCharHead(byte[] bytes, int p, int s, int end) Implements abstract org. onigenc_single_byte_left_adjust_char_head
| |
| length | back to summary |
|---|---|
| public int length(byte c) Implements abstract org. onigenc_single_byte_mbc_enc_len
| |
| 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
| |
| mbcToCode | back to summary |
|---|---|
| public int mbcToCode(byte[] bytes, int p, int end) Implements abstract org. onigenc_single_byte_mbc_to_code
| |
| strCodeAt | back to summary |
|---|---|
| public int strCodeAt(byte[] bytes, int p, int end, int index) Implements abstract org.
| |
| strLength | back to summary |
|---|---|
| public final int strLength(byte[] bytes, int p, int end) Implements abstract org.
| |