- buffers
- the buffers containing bytes to be written.
Documentation for this section has not yet been entered.
Type Reason Java.Nio.Channels.AsynchronousCloseException if the channel is closed by another thread during this write operation. Java.Nio.Channels.ClosedByInterruptException if another thread interrupts the calling thread while the operation is in progress. The interrupt state of the calling thread is set and the channel is closed. Java.Nio.Channels.ClosedChannelException if the channel is closed. Java.Lang.IndexOutOfBoundsException if offset or length , or if offset + length is greater than the size of buffers. Java.IO.IOException if another I/O error occurs; details are in the message. Java.Nio.Channels.NonWritableChannelException if the channel has not been opened in a mode that permits writing.
Writes bytes from all the given buffers to a channel.
This method is equivalent to: write(buffers, 0, buffers.length);