A gathering write operation writes, in a single invocation, a sequence of bytes from one or more of a given sequence of buffers. Gathering writes are often useful when implementing network protocols or file formats that, for example, group data into segments consisting of one or more fixed-length headers followed by a variable-length body. Similar scattering read operations are defined in the {@link ScatteringByteChannel} interface.
@author Mark Reinhold @author JSR-51 Expert Group @version 1.13, 05/11/17 @since 1.4
|
|
|
|