Class Base64

java.lang.Object
io.deephaven.base.Base64

public class Base64 extends Object
  • Constructor Details

    • Base64

      public Base64()
  • Method Details

    • byteArrayToBase64

      public static String byteArrayToBase64(byte[] a)
      Translates the specified byte array into a Base64 string as per Preferences.put(byte[]).
    • base64ToByteArray

      public static byte[] base64ToByteArray(String s)
      Translates the specified Base64 string (as per Preferences.get(byte[])) into a byte array.
    • altBase64ToByteArray

      public static byte[] altBase64ToByteArray(String s)
      Translates the specified "alternate representation" Base64 string into a byte array.
    • main

      public static void main(String[] args)