if ((newLimit < 0) || (newLimit > cap)) throw new IllegalArgumentException ();  if (newLimit < mark) mark = -1;  if (pos > newLimit) pos = newLimit;  limit = newLimit; return this;
return limit;
  public final Buffer limit (int newLimit)  {    if ((newLimit < 0) || (newLimit > cap))      throw new IllegalArgumentException ();    if (newLimit < mark)        mark = -1;    if (pos > newLimit)        pos = newLimit;    limit = newLimit;    return this;  }