require

expect abstract fun require(byteCount: Long)

Returns when the buffer contains at least byteCount bytes or throws EOFException if the source is exhausted before the requested number of bytes could be read

actual abstract fun require(byteCount: Long)

Returns when the buffer contains at least byteCount bytes or throws EOFException if the source is exhausted before the requested number of bytes could be read