Encoder

Functions

Link copied to clipboard
abstract fun decode(source: ByteReadChannel, coroutineContext: CoroutineContext = EmptyCoroutineContext): ByteReadChannel

Launch coroutine to decode source bytes.

Link copied to clipboard
abstract fun encode(source: ByteReadChannel, coroutineContext: CoroutineContext = EmptyCoroutineContext): ByteReadChannel
abstract fun encode(source: ByteWriteChannel, coroutineContext: CoroutineContext = EmptyCoroutineContext): ByteWriteChannel

Launch coroutine to encode source bytes.