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