public class Base64
extends java.lang.Object
Modifier and Type | Method | 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.
|
public static char[] encode(byte[] data)
data
- the array of bytes to encodepublic static byte[] decode(char[] data)
data
- the character data.