ktor-utils / io.ktor.util / Encoder / encode

encode

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

Launch coroutine to encode source bytes.