| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected ByteBuffer | allocateDirect(int initialCapacity)
Overrides io. ByteBuffer with the given initialCapacity.
|
| public ByteBuf | capacity(int newCapacity)
Adjusts the capacity of this buffer.
|
| protected void | freeDirect(ByteBuffer buffer)
Overrides io. ByteBuffer
|
| pack-priv ByteBuffer |
| UnpooledUnsafeNoCleanerDirectByteBuf | back to summary |
|---|---|
| pack-priv UnpooledUnsafeNoCleanerDirectByteBuf(ByteBufAllocator alloc, int initialCapacity, int maxCapacity) | |
| allocateDirect | back to summary |
|---|---|
| protected ByteBuffer allocateDirect(int initialCapacity) Overrides io. Doc from io. Allocate a new direct
| |
| capacity | back to summary |
|---|---|
| public ByteBuf capacity(int newCapacity) Overrides io. Doc from io. Adjusts the capacity of this buffer. If the
| |
| freeDirect | back to summary |
|---|---|
| protected void freeDirect(ByteBuffer buffer) Overrides io. Doc from io. Free a direct
| |
| reallocateDirect | back to summary |
|---|---|
| pack-priv ByteBuffer reallocateDirect(ByteBuffer oldBuffer, int initialCapacity) | |