nextChar = 0;
// limit the size via commons-io as ChannelBufferInputStream size limiting is buggy
InputStream in = new BoundedInputStream(new ChannelBufferInputStream(buffer), size);
if (extraCRLF) {
return new EolInputStream(this, in);
} else {
return in;
}
}