encode

abstract fun CoroutineScope.encode(source: ByteReadChannel): ByteReadChannel

Launch coroutine to encode source bytes.