BufferPool.releaseBuffer

Release buffer to pool. buffer should have previously been allocated from pool with Buffer.poolAcquireBuffer.

This function is usually called automatically when the last ref on buffer disappears.

class BufferPool
void
releaseBuffer

Parameters

buffer Buffer