docs: public boolean flushPipelinedData() throws IOException {
          if (buffer == null || (buffer.getBuffer().position() == 0 && allAreClear(state, FLUSHING))) {
              return next.flush();
          }
          return flushBuffer();
      }