toggle menu
ktor
2.3.8
3.0.0-beta-1
2.3.8
2.3.7
2.3.6
2.3.3
2.3.2
2.3.1
2.3.0
2.2.4
2.0.3
1.6.8
jvm
switch theme
search in API
ktor-io
/
io.ktor.utils.io.streams
/
readPacketAtLeast
read
Packet
At
Least
jvm
fun
InputStream
.
readPacketAtLeast
(
n
:
Long
)
:
ByteReadPacket
Read a packet of at least
n
bytes or all remaining. Does fail if not enough bytes remaining.