docs: private void setBufferSize(int size) {
  
          this.amountToBuffer = size;
          this.bbSize = (49152 < size) ? 32768 : 8192;
          int numBuffers = (size / this.bbSize);
          if (0 == size || 0 != (size % this.bbSize)) {
              numBuffers++;
          }
          this._output = new WsByteBuffer[numBuffers];
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "setBufferSize=[" + size + "]; " + this);
          }
      }