|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.locomotive.util.Base64
Utility routine for manipulating blocks of Base64 data
Field Summary | |
protected static byte[] |
base64lookup
|
protected static byte[] |
base64reverse_lookup
|
Constructor Summary | |
Base64()
|
Method Summary | |
static byte[] |
base64Decode(byte[] input)
decodes input base64, returns binary byte array. |
static byte[] |
base64Encode(byte[] input)
convert a byte array to a base64 byte array output is 4/3 size of input, plus extra 4 bytes 66% of the time |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static byte[] base64lookup
protected static byte[] base64reverse_lookup
Constructor Detail |
public Base64()
Method Detail |
public static byte[] base64Encode(byte[] input)
input
- an array of binary byte datapublic static byte[] base64Decode(byte[] input)
input
- a byte array containing Base64-text
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |