ByteBuffer.put

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

<p> Writes the given byte into this buffer at the current position, and then increments the position. </p>

@param b The byte to be written

@return This buffer

@throws BufferOverflowException If this buffer's current position is not smaller than its limit

@throws ReadOnlyBufferException If this buffer is read-only

Meta