net.metanotion.util
Class Base64
java.lang.Object
net.metanotion.util.Base64
public final class Base64
- extends java.lang.Object
|
Field Summary |
protected static int[] |
b64_inv
|
protected static byte[] |
b64_tbl
|
|
Method Summary |
static int |
decode(byte[] src,
int srcoff,
int srclen,
byte[] dest,
int destoff)
|
static byte[] |
decode(java.lang.String data)
|
static int |
decodeLength(byte[] b,
int off,
int len)
|
static java.lang.String |
encode(byte[] data)
|
static int |
encode(byte[] src,
int srcoff,
int srclen,
byte[] dest,
int destoff)
|
static int |
encodeLength(int length)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
b64_tbl
protected static byte[] b64_tbl
b64_inv
protected static int[] b64_inv
Base64
public Base64()
encode
public static java.lang.String encode(byte[] data)
decode
public static byte[] decode(java.lang.String data)
decodeLength
public static int decodeLength(byte[] b,
int off,
int len)
encodeLength
public static int encodeLength(int length)
decode
public static int decode(byte[] src,
int srcoff,
int srclen,
byte[] dest,
int destoff)
encode
public static int encode(byte[] src,
int srcoff,
int srclen,
byte[] dest,
int destoff)