ktor
2.0.3
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
jvm
ktor-io
/
io.ktor.utils.io.streams
/
readPacketAtLeast
read
Packet
At
Least
jvm
fun
InputStream
.
readPacketAtLeast
(
n
:
Long
)
:
ByteReadPacket
Content copied to clipboard
Read a packet of at least
n
bytes or all remaining. Does fail if not enough bytes remaining.