ktor-utils / io.ktor.util / Identity

Identity

object Identity : Encoder

Empty Encoder

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.