Class Base64Binary


  • public class Base64Binary
    extends Object
    A utility class for working with base64 encoding.
    See Also:
    Base64
    • Constructor Detail

      • Base64Binary

        public Base64Binary()
    • Method Detail

      • getClone

        public static byte[] getClone​(byte[] pValue)
        Creates a clone of the byte array pValue.
      • decode

        public static byte[] decode​(String pValue)
                             throws IOException
        Converts the string pValue into a base64 encoded byte array.
        Throws:
        IOException
      • encode

        public static String encode​(byte[] pValue)
        Converts the base64 encoded byte array pValue into a string.