ByteBuffer.put

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

<p> Writes the given byte into this buffer at the given index. </p>

@param index The index at which the byte will be written

@param b The byte value to be written

@return This buffer

@throws IndexOutOfBoundsException If <tt>index</tt> is negative or not smaller than the buffer's limit

@throws ReadOnlyBufferException If this buffer is read-only

Meta