ktor-io / io.ktor.utils.io.core / BytePacketBuilder / build

build

fun build(): ByteReadPacket

Builds byte packet instance and resets builder's state to be able to build another one packet if needed