}
return null;
}
public static byte[] base64Decode(byte[] data) {
ByteChunk bchunk = new ByteChunk();
try {
bchunk.append(data, 0, data.length);
CharChunk ret = new CharChunk();
Base64.decode(bchunk, ret);
return ret.toStringInternal().getBytes(DEFAULT_STRING_ENCODING);
} catch (IOException e) {
e.printStackTrace();