org.metastatic.jessie
Class Base64
java.lang.Object
|
+--org.metastatic.jessie.Base64
public final class Base64
extends java.lang.Object
static byte[] | decode(String b64)
|
static String | encode(byte[] buf, int tw)
|
decode
public static byte[] decode(String b64)
Decode a Base-64 string into a byte array.
Parameters:
Returns:
Throws:
- If the argument is not a valid Base-64
encoding.
encode
public static String encode(byte[] buf, int tw)
Base64 encode a byte array, returning the returning string.
Parameters:
Returns: