readRemaining

expect abstract suspend fun readRemaining(limit: Long = Long.MAX_VALUE): ByteReadPacket

Reads up to limit bytes and makes a byte packet or until end of stream encountered.

actual abstract suspend fun readRemaining(limit: Long): ByteReadPacket

Reads up to limit bytes and makes a byte packet or until end of stream encountered.

actual abstract suspend fun readRemaining(limit: Long): ByteReadPacket

Reads up to limit bytes and makes a byte packet or until end of stream encountered.

actual abstract suspend fun readRemaining(limit: Long): ByteReadPacket

Reads up to limit bytes and makes a byte packet or until end of stream encountered.