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

isEmpty

val isEmpty: Boolean

If no bytes were written or the builder has been reset.