Class Base64

java.lang.Object
org.eclnt.util.valuemgmt.Base64

public class Base64 extends Object
  • Constructor Details

    • Base64

      public Base64()
  • Method Details

    • encode

      public static String encode(byte[] buf)
      Translates the specified byte array into Base64 string.
      Parameters:
      buf - the byte array (not null)
      Returns:
      the translated Base64 string (not null)
    • decode

      public static byte[] decode(String s)
      Translates the specified Base64 string into a byte array.
      Parameters:
      s - the Base64 string (not null)
      Returns:
      the byte array (not null)