sok / Sok.Buffer / BufferPool / requestBuffer
suspend fun requestBuffer():
MultiplatformBuffer
(source)
Platform and version requirements: Common
Fetch a buffer from the pool. If the pool as not reached its maximum size and that the channel si empty we can allocate the buffer instead of suspending.
Return the requested buffer