java.lang.Object
org.jcodings.util.Macros
ONIGENC macros from Ruby
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
CONSTRUCT_MBCLEN_CHARFOUND
(int n) static int
static int
CONSTRUCT_MBCLEN_NEEDMORE
(int n) static int
MBCLEN_CHARFOUND_LEN
(int r) static boolean
MBCLEN_CHARFOUND_P
(int r) static boolean
MBCLEN_INVALID_P
(int r) static int
MBCLEN_NEEDMORE_LEN
(int r) static boolean
MBCLEN_NEEDMORE_P
(int r) static boolean
UNICODE_VALID_CODEPOINT_P
(int c) static boolean
UTF16_IS_SURROGATE
(int c) static boolean
UTF16_IS_SURROGATE_FIRST
(int c) static boolean
UTF16_IS_SURROGATE_SECOND
(int c)
-
Field Details
-
MBCLEN_INVALID
public static final int MBCLEN_INVALID- See Also:
-
-
Constructor Details
-
Macros
public Macros()
-
-
Method Details
-
CONSTRUCT_MBCLEN_INVALID
public static int CONSTRUCT_MBCLEN_INVALID() -
MBCLEN_NEEDMORE_P
public static boolean MBCLEN_NEEDMORE_P(int r) -
CONSTRUCT_MBCLEN_NEEDMORE
public static int CONSTRUCT_MBCLEN_NEEDMORE(int n) -
MBCLEN_NEEDMORE_LEN
public static int MBCLEN_NEEDMORE_LEN(int r) -
MBCLEN_INVALID_P
public static boolean MBCLEN_INVALID_P(int r) -
MBCLEN_CHARFOUND_LEN
public static int MBCLEN_CHARFOUND_LEN(int r) -
MBCLEN_CHARFOUND_P
public static boolean MBCLEN_CHARFOUND_P(int r) -
CONSTRUCT_MBCLEN_CHARFOUND
public static int CONSTRUCT_MBCLEN_CHARFOUND(int n) -
UNICODE_VALID_CODEPOINT_P
public static boolean UNICODE_VALID_CODEPOINT_P(int c) -
UTF16_IS_SURROGATE_FIRST
public static boolean UTF16_IS_SURROGATE_FIRST(int c) -
UTF16_IS_SURROGATE_SECOND
public static boolean UTF16_IS_SURROGATE_SECOND(int c) -
UTF16_IS_SURROGATE
public static boolean UTF16_IS_SURROGATE(int c)
-