interface GatheringCoroutineByteChannel : WritableCoroutineByteChannel
(source)
A channel that can write bytes from a sequence of buffers.
tryWrite |
Writes a sequence of bytes to this channel from a subsequence of the given buffers, if the channel is ready for writing. abstract fun tryWrite(srcs: Array<ByteBuffer>, offset: Int = 0, length: Int = srcs.size): Long |
write |
Writes a sequence of bytes to this channel from a subsequence of the given buffers. abstract suspend fun write(srcs: Array<ByteBuffer>, offset: Int = 0, length: Int = srcs.size): Long |
CoroutineDatagramChannel |
A co-routine based datagram-oriented network channel. class CoroutineDatagramChannel : CoroutineByteChannel, ScatteringCoroutineByteChannel, GatheringCoroutineByteChannel, CoroutineNetworkChannel |
CoroutineSocketChannel |
A co-routine based stream-oriented network channel. class CoroutineSocketChannel : CoroutineByteChannel, ScatteringCoroutineByteChannel, GatheringCoroutineByteChannel, CoroutineNetworkChannel |