ByteBuffer.put

Relative bulk <i>put</i> method&nbsp;&nbsp;<i>(optional operation)</i>.

<p> This method transfers the entire content of the given source byte array into this buffer. An invocation of this method of the form <tt>dst.put(a)</tt> behaves in exactly the same way as the invocation

<pre> dst.put(a, 0, a.length) </pre>

@param src The source array

@return This buffer

@throws BufferOverflowException If there is insufficient space in this buffer

@throws ReadOnlyBufferException If this buffer is read-only

Meta