ktor-utils / io.ktor.util.cio / ByteBufferPool

ByteBufferPool

class ByteBufferPool : DefaultPool<ByteBuffer>

Constructors

<init>

ByteBufferPool()

Functions

clearInstance

fun clearInstance(instance: ByteBuffer): ByteBuffer

produceInstance

fun produceInstance(): ByteBuffer