- buffers
- the buffers containing bytes to write.
Documentation for this section has not yet been entered.
Type Reason Java.Nio.Channels.AsynchronousCloseException if this channel is closed by another thread during this write operation. Java.Nio.Channels.ClosedByInterruptException if another thread interrupts the calling thread while this operation is in progress. The interrupt state of the calling thread is set and the channel is closed. Java.Nio.Channels.ClosedChannelException if this channel is closed. Java.IO.IOException if another I/O error occurs; details are in the message. Java.Nio.Channels.NonWritableChannelException if this channel was not opened for writing.
Writes bytes from all the given byte buffers to this file channel.
The bytes are written starting at the current file position, and after the bytes are written (up to the remaining number of bytes in all the buffers), the file position is increased by the number of bytes actually written.
Calling this method is equivalent to calling write(buffers, 0, buffers.length);