public static char[]
encode(byte[] aData);
Encode an array of raw byte values to an array of
characters using the BASE-64 encoding scheme.
- aData the array of bytes to encode
returns BASE-64 encoded character array.
public static byte[]
decode(char[] aData) throws
DecodingFailedException;
Decode a BASE-64 encoded array of characters to recover the
original data. White space before and after will be trimmed
away, but no other manipulation of the input will be performed.
This method will properly handle input containing junk
characters (newlines and the like) rather than throwing
an exception. It does this by pre-parsing the input and
generating from that a count of VALID input characters.
returns original data