A scattering read is like a regular channel read, except that it reads data into an array of buffers
rather than a single buffer. Likewise, a gathering write writes data from an array of buffers rather
than a single buffer.
Scatter/gather I/O is useful for dividing a data stream into separate sections, which can help
implement complicated data formats
A scattering read is like a regular channel read, except that it reads data into an array of buffers rather than a single buffer. Likewise, a gathering write writes data from an array of buffers rather than a single buffer. Scatter/gather I/O is useful for dividing a data stream into separate sections, which can help implement complicated data formats