interface ReadableCoroutineByteChannel
(source)
A co-routine channel that can read bytes.
read |
Reads a sequence of bytes from this channel into the given buffer. abstract suspend fun read(dst: ByteBuffer): Int |
tryRead |
Reads a sequence of bytes from this channel into the given buffer, if any bytes are immediately available. abstract fun tryRead(dst: ByteBuffer): Int |
CoroutineByteChannel |
A co-routine channel that can read and write bytes. interface CoroutineByteChannel : ReadableCoroutineByteChannel, WritableCoroutineByteChannel |
ScatteringCoroutineByteChannel |
A channel that can read bytes into a sequence of buffers. interface ScatteringCoroutineByteChannel : ReadableCoroutineByteChannel |