DirectByteBufferPool

class DirectByteBufferPool(capacity: Int = DEFAULT_POOL_CAPACITY, val bufferSize: Int = DEFAULT_BUFFER_SIZE) : DefaultPool<ByteBuffer>

Constructors

Link copied to clipboard
constructor(capacity: Int = DEFAULT_POOL_CAPACITY, bufferSize: Int = DEFAULT_BUFFER_SIZE)

Properties

Link copied to clipboard
Link copied to clipboard
actual val capacity: Int

Functions

Link copied to clipboard
actual fun borrow(): ByteBuffer
Link copied to clipboard
actual fun dispose()
Link copied to clipboard
actual fun recycle(instance: ByteBuffer)