code: @Override
      public AbstractIoBufferEx position(int newPosition) {
          autoExpand(newPosition, 0);
          buf().position(newPosition);
          if (mark > newPosition) {
              mark = -1;
          }
          return this;
      }
docs: {@inheritDoc}