hunt-net ~master (2022-02-18T10:07:33Z)
Home
Dub
Repo
AbstractByteBufAllocator.newDirectBuffer
hunt
net
buffer
AbstractByteBufAllocator
AbstractByteBufAllocator
Create a direct {@link ByteBuf} with the given initialCapacity and maxCapacity.
class
AbstractByteBufAllocator
protected abstract
ByteBuf
newDirectBuffer
(
int
initialCapacity
,
int
maxCapacity
)
Meta
Source
See Implementation
hunt
net
buffer
AbstractByteBufAllocator
AbstractByteBufAllocator
constructors
this
functions
buffer
calculateNewCapacity
compositeBuffer
compositeDirectBuffer
compositeHeapBuffer
directBuffer
heapBuffer
ioBuffer
newDirectBuffer
newHeapBuffer
toString
variables
CALCULATE_THRESHOLD
DEFAULT_INITIAL_CAPACITY
DEFAULT_MAX_CAPACITY
DEFAULT_MAX_COMPONENTS
Create a direct {@link ByteBuf} with the given initialCapacity and maxCapacity.