buffer-compression
Toggle table of contents
4.1.2
common
Target filter
common
Switch theme
Search in API
Skip to content
buffer-compression
buffer-compression
/
com.ditchoom.buffer.compression
/
BufferAllocator
/
FromPool
From
Pool
class
FromPool
(
val
pool
:
BufferPool
)
:
BufferAllocator
Allocate buffers from a buffer pool for reuse.
Members
Constructors
From
Pool
Link copied to clipboard
constructor
(
pool
:
BufferPool
)
Properties
pool
Link copied to clipboard
val
pool
:
BufferPool
Functions
allocate
Link copied to clipboard
open
override
fun
allocate
(
size
:
Int
)
:
ReadWriteBuffer
Allocates a buffer of the specified size.