|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindbright.util.Base64
Static routines for base64-encoding/decoding
| Constructor Summary | |
Base64()
|
|
| Method Summary | |
static byte[] |
decode(byte[] data)
Decode a given base64-blob |
static byte[] |
decode(byte[] encoded,
int offset,
int length)
Decode a given base64-blob |
static byte[] |
encode(byte[] data)
Encode a binary blob of data |
static byte[] |
encode(byte[] data,
int offset,
int length)
Encode a binary blob of data |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Base64()
| Method Detail |
public static byte[] encode(byte[] data)
data - the data to encode
public static byte[] encode(byte[] data,
int offset,
int length)
data - array containing the data to encodeoffset - offset of start of data in arraylength - how many bytes of data to encode
public static byte[] decode(byte[] data)
data - the base64-encoded blob to decode
public static byte[] decode(byte[] encoded,
int offset,
int length)
encoded - array containing the base64-encoded blob to
decodeoffset - offset of data to decode in arraylength - length of data to decode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||