Package org.teavm.classlib.impl
Class Base64Impl
java.lang.Object
org.teavm.classlib.impl.Base64Impl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic byte[]static int[]static byte[]static int[] -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]decode(byte[] text) static voiddecode(byte[] text, byte[] output, int[] mapping) static byte[]decode(byte[] text, int[] mapping) static byte[]encode(byte[] data, boolean pad) static byte[]encode(byte[] data, byte[] mapping, boolean pad) static intencode(byte[] data, byte[] output, byte[] mapping, boolean pad)
-
Field Details
-
alphabet
public static byte[] alphabet -
urlAlphabet
public static byte[] urlAlphabet -
reverse
public static int[] reverse -
urlReverse
public static int[] urlReverse
-
-
Method Details
-
decode
public static byte[] decode(byte[] text, int[] mapping) -
decode
public static byte[] decode(byte[] text) -
decode
public static void decode(byte[] text, byte[] output, int[] mapping) -
encode
public static byte[] encode(byte[] data, byte[] mapping, boolean pad) -
encode
public static byte[] encode(byte[] data, boolean pad) -
encode
public static int encode(byte[] data, byte[] output, byte[] mapping, boolean pad)
-