hunt-net ~master (2022-02-18T10:07:33Z)
Home
Dub
Repo
AbstractByteBufAllocator.newHeapBuffer
hunt
net
buffer
AbstractByteBufAllocator
AbstractByteBufAllocator
Create a heap {@link ByteBuf} with the given initialCapacity and maxCapacity.
class
AbstractByteBufAllocator
protected abstract
ByteBuf
newHeapBuffer
(
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 heap {@link ByteBuf} with the given initialCapacity and maxCapacity.