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 byte
decodeByte(char c)
static int[]
decodeIntDiff(String text)
static int[]
decodeIntPairsDiff(String text)
static char
encodeByte(byte b)
static String
encodeIntDiff(int[] data)
static String
encodeIntPairsDiff(int[] data)
static UnicodeHelper.Range[]
extractRle(String encoded)
-
Method Details
-
encodeIntPairsDiff
-
decodeIntPairsDiff
-
encodeIntDiff
-
decodeIntDiff
-
encodeByte
public static char encodeByte(byte b) -
decodeByte
public static byte decodeByte(char c) -
compressRle
-
extractRle
-