discard

fun discard(n: Int): Int

Discards at most n bytes

Return

number of bytes has been discarded


override fun discard(n: Long): Long

Discard at most n bytes