ScatteringByteChannel is an interface extends ReadableByteChannel and is defined in java.nio.channels package. This is a channel that can read bytes into a sequence of buffers. This interface defines two read methods. read(ByteBuffer [] dsts): Reads a sequence of bytes from this channel into the given buffers. read(ByteBuffer [] dsts, int offset, int length): Reads a sequence of bytes from this ...
Read More »