ktor-io / io.ktor.utils.io.core / discard

discard

fun Input.discard(): Long

Discard all remaining bytes.

Return
number of bytes were discarded