ktor-io / io.ktor.utils.io / ByteReadChannel / discard

discard

abstract suspend fun discard(max: Long): Long

Discard up to max bytes

Return
number of bytes were discarded