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

discard

fun discard(n: Int): Int

Discards at most n bytes

Return
number of bytes has been discarded

fun discard(n: Long): Long

Discard at most n bytes