LineReaderInputStream instream = new MimeBoundaryInputStream(inbuffer, "1234");
ByteArrayBuffer linebuf = new ByteArrayBuffer(8);
for (int i = 0; i < teststrs.length; i++) {
linebuf.clear();
instream.readLine(linebuf);
String s = new String(linebuf.toByteArray(), "US-ASCII");
assertEquals(teststrs[i], s);
}
assertEquals(-1, instream.readLine(linebuf));
assertEquals(-1, instream.readLine(linebuf));