toggle menu
ktor
2.3.12
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
switch theme
search in API
ktor-io
/
io.ktor.utils.io.core
/
buildPacket
build
Packet
inline
fun
buildPacket
(
block
:
BytePacketBuilder
.
(
)
->
Unit
)
:
ByteReadPacket
Build a byte packet in
block
lambda. Creates a temporary builder and releases it in case of failure