Class Base64EncodingDecoding


  • public class Base64EncodingDecoding
    extends Object
    Encode/Decode Utils
    Author:
    Phillip Austerfield (phillip.austerfield@idmedia.com)
    • Method Detail

      • encode

        @NotNull
        public static String encode​(String sRaw)
        Base64 encode given input
        Parameters:
        sRaw -
        Returns:
      • encode

        @NotNull
        public static String encode​(byte[] byteRaw)
        Encode byte input
        Parameters:
        byteRaw -
        Returns:
      • encode

        @NotNull
        public static String encode​(CharSequence sRaw)
        Encode abstract char sequence
        Parameters:
        sRaw -
        Returns:
      • decodeRaw

        @NotNull
        public static byte[] decodeRaw​(String sEncoded)
        Decode encoded string
        Parameters:
        sEncoded -
        Returns:
      • decode

        @NotNull
        public static String decode​(String sEncoded)
        Decode encoded string
        Parameters:
        sEncoded -
        Returns:
      • decode

        @NotNull
        public static String decode​(byte[] byteRaw)
        Decode byte array
        Parameters:
        byteRaw -
        Returns: