ByteBufAllocator class abstract

Constructors

ByteBufAllocator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allocate(int size) ReleasableByteBuf
Allocates a size-long releasable child buffer.
available() int
The amount of accessible free heap inside the buffer, which the the buffer can directly allocate.
capacity() int
Current capacity of the backing buffer.
free() int
Total amount of free heap inside the buffer, which also includes memory which is currently not accessible without restructuring of the byte data. This may or may not be different from available depending on the implementation and current state.
maxCapacity() int
Upper capacity constraint for the backing buffer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(ReleasableByteBuf child) → void
Releases the child buffer.
toString() String
A string representation of this object.
inherited
used() int
Heap occupied by allocated child buffers.

Operators

operator ==(Object other) bool
The equality operator.
inherited