public class Base64 extends Object
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(byte[] in) |
static byte[] |
decode(byte[] in,
int len)
Decodes an array of bytes containing a Base64 ascii string into binary data
|
static String |
encode(byte[] in)
Encodes the given array as a base64 string
|
static String |
encodeNoNewline(byte[] in)
Encodes the given array as a base64 string without breaking lines
|
public static byte[] decode(byte[] in)
public static byte[] decode(byte[] in,
int len)
in - the arraylen - the length of the arraypublic static String encode(byte[] in)
in - the array to encodepublic static String encodeNoNewline(byte[] in)
in - the array to encode