discard

abstract fun discard(n: Int): Int

Discard at most n available bytes or 0 if no bytes available yet

Return number of bytes actually discarded, could be 0