Identity

object Identity : Encoder

Empty Encoder that doesn’t do any changes.

Functions

decode

fun CoroutineScope.decode(
    source: ByteReadChannel
): ByteReadChannel

Launch coroutine to decode source bytes.

encode

fun CoroutineScope.encode(
    source: ByteReadChannel
): ByteReadChannel

Launch coroutine to encode source bytes.