encode
expect open override fun encode(source: ByteReadChannel, coroutineContext: CoroutineContext): ByteReadChannel
expect open override fun encode(source: ByteWriteChannel, coroutineContext: CoroutineContext): ByteWriteChannel
Launch coroutine to encode source bytes.