- src
- the source byte array.
- srcOffset
- the offset of byte array, must not be negative and not greater than src.length.
- byteCount
- the number of bytes to write, must not be negative and not greater than src.length - srcOffset.
Documentation for this section has not yet been entered.
Type Reason Java.Nio.BufferOverflowException if remaining() is less than byteCount. Java.Lang.IndexOutOfBoundsException if either srcOffset or byteCount is invalid. Java.Nio.ReadOnlyBufferException if no changes may be made to the contents of this buffer.
Writes bytes in the given byte array, starting from the specified offset, to the current position and increases the position by the number of bytes written.