discardExact

fun discardExact(count: Int = readRemaining): Unit

Discard count readable bytes.

Exceptions

EOFException - if count is bigger than available bytes.