for (int i = offset; i < offset + length; i++) put (src [i]);
if (src.remaining () > remaining ()) throw new BufferOverflowException ();  if (src.remaining () > 0) { byte[] toPut = new byte [src.remaining ()]; src.get (toPut); src.put (toPut); }
  public ByteBuffer put (byte[] src, int offset, int length)  {    if ((offset < 0) ||        (offset > src.length) ||        (length < 0) ||        (length > src.length - offset))      throw new IndexOutOfBoundsException ();    for (int i = offset; i < offset + length; i++)      put (src [i]);    return this;  }