Method Summary |
|
public static String | decode(String s) Base 64 decode as described in RFC 1421. |
public static String | decode(String s, String charEncoding) Base 64 decode as described in RFC 1421.
Does not attempt to cope with extra whitespace
as described in RFC 1521.
Parameters: s - String to decode Parameters: charEncoding - String representing the character encodingused to map the decoded bytes into a String. |
public static byte[] | decode(char[] b) Fast Base 64 decode as described in RFC 1421.
Does not attempt to cope with extra whitespace
as described in RFC 1521.
Avoids creating extra copies of the input/output.
Note this code has been flattened for performance.
Parameters: b - char array to decode. |
public static String | encode(String s) Base 64 encode as described in RFC 1421.
Does not insert whitespace as described in RFC 1521.
Parameters: s - String to encode. |
public static String | encode(String s, String charEncoding) Base 64 encode as described in RFC 1421.
Does not insert whitespace as described in RFC 1521.
Parameters: s - String to encode. Parameters: charEncoding - String representing the name ofthe character encoding of the provided input String. |
public static char[] | encode(byte[] b) Fast Base 64 encode as described in RFC 1421.
Does not insert whitespace as described in RFC 1521.
Avoids creating extra copies of the input/output.
Parameters: b - byte array to encode. |