code: @Override
  	public void write(final char[] cbuf, final int off, final int len) throws IOException {
  		int offset = off;
  		int length = len;
  		while (suppressLineCount > 0 && length > 0) {
  			length = -1;
  			for (int i = 0; i < len && suppressLineCount > 0; i++) {
  				if (cbuf[off + i] == '\n') {
  					offset = off + i + 1;
  					length = len - i - 1;
  					suppressLineCount--;
  				}
  			}
  			if (length <= 0)
  				return;
  		}
  		delegate.write(cbuf, offset, length);
  	}
docs: Filter everything until we found the first NL character.