discard

suspend fun ByteReadChannel.discard(): Long

Discards all bytes in the channel and suspends until end of stream.