SokDoc

sok / Sok.Buffer / BufferPool / <init>

<init>

BufferPool(maximumNumberOfBuffer: Int, bufferSize: Int, bufferBuilder: (bufferSize: Int) -> MultiplatformBuffer = { allocMultiplatformBuffer(bufferSize) })

Platform and version requirements: Common

Creates an empty pool that will grow to the given maximum number of buffer if needed

Constructor Creates an empty pool that will grow to the given maximum number of buffer if needed