Relative bulk put method (optional operation).
This method transfers the entire content of the given source byte array into this buffer. An invocation of this method of the form dst.put(a) behaves in exactly the same way as the invocation
dst.put(a, 0, a.length)
src
| The source array |
BufferOverflowException
| If there is insufficient space in this buffer | |
ReadOnlyBufferException
| If this buffer is read-only |
Diagram: Buffer