read

suspend fun read(): AsyncPacket?

The next packet of the selected streams, or null at the end. The read may wait for the byte source. The caller owns the packet and closes it.