public class Base64
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static char[] |
S_BASE64CHAR |
private static char |
S_BASE64PAD |
private static byte[] |
S_DECODETABLE |
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(java.lang.String data) |
private static int |
decode0(char[] ibuf,
byte[] obuf,
int wp) |
static java.lang.String |
encode(byte[] data)
Returns base64 representation of specified byte array.
|
static java.lang.String |
encode(byte[] data,
int off,
int len)
Returns base64 representation of specified byte array.
|
private static final char[] S_BASE64CHAR
private static final char S_BASE64PAD
private static final byte[] S_DECODETABLE
public static byte[] decode(java.lang.String data)
private static int decode0(char[] ibuf,
byte[] obuf,
int wp)
public static java.lang.String encode(byte[] data)
public static java.lang.String encode(byte[] data,
int off,
int len)