interface WritableCoroutineByteChannel
(source)
A co-routine channel that can write bytes.
Author
Chris Leishman - https://cleishm.github.io/
abstract fun tryWrite(src: ByteBuffer): Int
Writes a sequence of bytes to this channel from the given buffer, if the channel is ready for writing. |
|
abstract suspend fun write(src: ByteBuffer): Int
Writes a sequence of bytes to this channel from the given buffer. |
interface CoroutineByteChannel : ReadableCoroutineByteChannel, WritableCoroutineByteChannel
A co-routine channel that can read and write bytes. |
|
interface GatheringCoroutineByteChannel : WritableCoroutineByteChannel
A channel that can write bytes from a sequence of buffers. |