checkArraySize(src.length, offset, length); checkForOverflow(length);  for (int i = offset; i < offset + length; i++) put (src [i]);
if (src == this) throw new IllegalArgumentException ();  checkForOverflow(src.remaining());  if (src.remaining () > 0) { char[] toPut = new char [src.remaining ()]; src.get (toPut); put (toPut); }
  public CharBuffer put (char[] src, int offset, int length)  {    checkArraySize(src.length, offset, length);    checkForOverflow(length);        for (int i = offset; i < offset + length; i++)      put (src [i]);        return this;  }