StringBuffer sb = new StringBuffer(16 + dataTable.length * dataTable[0].length);
sb.append("<root>");
for (int i = 0; i < dataTable.length; ++i) {
byte[] data = dataTable[i];
char[] buffer = new char[4 + (data.length * 3 / 2)];
AsciiValueEncoder enc = new ValueEncoderFactory().getEncoder(b64variant, data, 0, data.length);
int len = enc.encodeMore(buffer, 0, buffer.length);
sb.append("<a>");
sb.append(buffer, 0, len);
sb.append("</a>");
}