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 StringcompressRle(byte[] bytes) static CharMappingcreateCharMapping(int[] data) static bytedecodeByte(char c) static int[]decodeCaseMapping(String text) static int[]decodeIntDiff(String text) static int[]decodeIntPairsDiff(String text) static charencodeByte(byte b) static StringencodeCaseMapping(int[] data) static StringencodeIntDiff(int[] data) static StringencodeIntPairsDiff(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
-