Encoder

interface Encoder

Content encoder.

Functions

decode

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

Launch coroutine to decode source bytes.

encode

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

Launch coroutine to encode source bytes.

Inheritors

ContentEncoder

interface ContentEncoder : Encoder

Client content encoder.

Identity

object Identity : Encoder

Empty Encoder