code: private AbstractIoBufferEx autoExpand(int pos, int expectedRemaining) {
          if (isAutoExpand()) {
              expand(pos, expectedRemaining, true, autoExpander);
          }
          return this;
      }
docs: This method forwards the call to {@link #expand(int)} only when
  <tt>autoExpand</tt> property is <tt>true</tt>.