Package-level declarations

Types

Link copied to clipboard
class WriteSuspendSession(val channel: <Error class: unknown class>)

Functions

Link copied to clipboard
fun ReadableByteChannel.asSource(): RawSource

Converts a ReadableByteChannel into a RawSource.

Link copied to clipboard
fun ReadableByteChannel.toByteReadChannel(context: CoroutineContext = Dispatchers.IO): <Error class: unknown class>

Converts a ReadableByteChannel to a ByteReadChannel, enabling asynchronous reading of bytes.

Link copied to clipboard
suspend fun <Error class: unknown class>.writeSuspendSession(block: suspend WriteSuspendSession.() -> Unit)
Link copied to clipboard
inline suspend fun <Error class: unknown class>.writeWhile(crossinline block: (ByteBuffer) -> Boolean)