isNotEmpty

val Input.isNotEmpty: Boolean

For streaming input there is no reliable way to detect it without triggering bytes population from the underlying source. Consider using Input.endOfInput or use ByteReadPacket instead.


val ByteReadPacket.isNotEmpty: Boolean