read

expect fun read(): Packet?

Returns the next selected-stream packet, or null at container EOF. The returned packet is owned by the caller. Null is the signal to begin decoder drain by sending a null packet.

actual fun read(): Packet?

Returns the next selected-stream packet, or null at container EOF. The returned packet is owned by the caller. Null is the signal to begin decoder drain by sending a null packet.

actual fun read(): Packet?

Reads the next packet from a selected stream.

Return

an owned packet, or null at the end of the container. Null is the signal to start the decoder drain, by sending a null packet to each decoder.

actual fun read(): Packet?

Returns the next selected-stream packet, or null at container EOF. The returned packet is owned by the caller. Null is the signal to begin decoder drain by sending a null packet.

actual fun read(): Packet?

Returns the next selected-stream packet, or null at container EOF. The returned packet is owned by the caller. Null is the signal to begin decoder drain by sending a null packet.