docs: private void clear() {
          if (null != this._output) {
              for (int i = 0; i < this._output.length; i++) {
                  if (null != this._output[i]) {
                      this._output[i].release();
                      this._output[i] = null;
                  }
              }
          }
          this.outputIndex = 0;
          this.bufferedCount = 0;
          this.bytesWritten = 0L;
          this.setWriteListenerCallBack(null);
      }