istream = new ByteArrayInputStream(m_data3);
writer = new StringWriter();
assertEquals(6, Base64Util.encode(istream, writer, -1, false));
assertEquals(m_sEnc3, writer.toString());
istream.reset();
writer = new StringWriter();
assertEquals(5, Base64Util.encode(istream, writer, 5, false));
assertEquals(m_sEnc2, writer.toString());
istream.reset();