ByteBufferPool
class ByteBufferPool(capacity: Int = DEFAULT_POOL_CAPACITY, val bufferSize: Int = DEFAULT_BUFFER_SIZE) : DefaultPool<ByteBuffer>
Constructors
Functions
Link copied to clipboard
borrow an instance. Pool can recycle an old instance or create a new one
Link copied to clipboard
Recycle an instance. Should be recycled what was borrowed before otherwise could fail