toByteReadChannel
fun ReadableByteChannel.toByteReadChannel(context: CoroutineContext = Dispatchers.IO): <Error class: unknown class>
Converts a ReadableByteChannel to a ByteReadChannel, enabling asynchronous reading of bytes.
Return
a ByteReadChannel for reading bytes asynchronously from the given ReadableByteChannel.
Parameters
context
the CoroutineContext to execute the read operation. Defaults to Dispatchers.IO.