Class Base64Impl

java.lang.Object
org.teavm.classlib.impl.Base64Impl

public final class Base64Impl extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static byte[]
     
    static int[]
     
    static byte[]
     
    static int[]
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static byte[]
    decode(byte[] text)
     
    static void
    decode(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 int
    encode(byte[] data, byte[] output, byte[] mapping, boolean pad)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)