docs: protected void init(boolean useDirect, int outSize, int inSize, int cacheSize) {
  
          this.useDirectBuffer = useDirect;
          this.outgoingHdrBufferSize = outSize;
          this.incomingBufferSize = inSize;
          // if cache size has increased, then allocate the larger bytecache
          // array, but don't change to a smaller array
          if (cacheSize > this.byteCacheSize) {
              this.byteCacheSize = cacheSize;
              this.byteCache = new byte[cacheSize];
          }
      }