Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(char[] data)
Decodes a BASE-64 encoded stream to recover the original
data.
|
static char[] |
encode(byte[] data)
returns an array of base64-encoded characters to represent the
passed data array.
|
static void |
main(String[] args)
Entry point.
|
public static char[] encode(byte[] data)
data
- the array of bytes to encodepublic static byte[] decode(char[] data)
data
- the character data.