Package org.teavm.classlib.impl.unicode
Class UnicodeHelper
java.lang.Object
org.teavm.classlib.impl.unicode.UnicodeHelper
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic String
compressRle
(byte[] bytes) static CharMapping
createCharMapping
(int[] data) static byte
decodeByte
(char c) static int[]
decodeCaseMapping
(String text) static int[]
decodeIntDiff
(String text) static int[]
decodeIntPairsDiff
(String text) static char
encodeByte
(byte b) static String
encodeCaseMapping
(int[] data) static String
encodeIntDiff
(int[] data) static String
encodeIntPairsDiff
(int[] data) static UnicodeHelper.Range[]
extractRle
(String encoded)
-
Method Details
-
encodeIntPairsDiff
-
decodeIntPairsDiff
-
encodeIntDiff
-
encodeCaseMapping
-
decodeIntDiff
-
decodeCaseMapping
-
createCharMapping
-
encodeByte
public static char encodeByte(byte b) -
decodeByte
public static byte decodeByte(char c) -
compressRle
-
extractRle
-