endOfInput
abstract val endOfInput: Boolean
It is true
when it is known that no more bytes will be available. When it is false
then this means that
it is not known yet or there are available bytes.
Please note that false
value doesn’t guarantee that there are available bytes so readByte()
may fail.