| Modifier and Type | Field and Description |
|---|---|
| public static final ByteBufAllocator |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuf | |
| public ByteBuf | |
| public ByteBuf | |
| public int | calculateNewCapacity(int minNewCapacity, int maxCapacity)
Calculate the new capacity of a |
| public CompositeByteBuf | |
| public CompositeByteBuf | compositeBuffer(int maxNumComponents)
Allocate a |
| public CompositeByteBuf | |
| public CompositeByteBuf | compositeDirectBuffer(int maxNumComponents)
Allocate a direct |
| public CompositeByteBuf | |
| public CompositeByteBuf | compositeHeapBuffer(int maxNumComponents)
Allocate a heap |
| public ByteBuf | |
| public ByteBuf | |
| public ByteBuf | directBuffer(int initialCapacity, int maxCapacity)
Allocate a direct |
| public ByteBuf | |
| public ByteBuf | |
| public ByteBuf | heapBuffer(int initialCapacity, int maxCapacity)
Allocate a heap |
| public ByteBuf | |
| public ByteBuf | |
| public ByteBuf | |
| public boolean |
| DEFAULT | back to summary |
|---|---|
| public static final ByteBufAllocator DEFAULT | |
| buffer | back to summary |
|---|---|
| public ByteBuf buffer() Allocate a | |
| buffer | back to summary |
|---|---|
| public ByteBuf buffer(int initialCapacity) Allocate a | |
| buffer | back to summary |
|---|---|
| public ByteBuf buffer(int initialCapacity, int maxCapacity) Allocate a | |
| calculateNewCapacity | back to summary |
|---|---|
| public int calculateNewCapacity(int minNewCapacity, int maxCapacity) Calculate the new capacity of a | |
| compositeBuffer | back to summary |
|---|---|
| public CompositeByteBuf compositeBuffer() Allocate a | |
| compositeBuffer | back to summary |
|---|---|
| public CompositeByteBuf compositeBuffer(int maxNumComponents) Allocate a | |
| compositeDirectBuffer | back to summary |
|---|---|
| public CompositeByteBuf compositeDirectBuffer() Allocate a direct | |
| compositeDirectBuffer | back to summary |
|---|---|
| public CompositeByteBuf compositeDirectBuffer(int maxNumComponents) Allocate a direct | |
| compositeHeapBuffer | back to summary |
|---|---|
| public CompositeByteBuf compositeHeapBuffer() Allocate a heap | |
| compositeHeapBuffer | back to summary |
|---|---|
| public CompositeByteBuf compositeHeapBuffer(int maxNumComponents) Allocate a heap | |
| directBuffer | back to summary |
|---|---|
| public ByteBuf directBuffer() Allocate a direct | |
| directBuffer | back to summary |
|---|---|
| public ByteBuf directBuffer(int initialCapacity) Allocate a direct | |
| directBuffer | back to summary |
|---|---|
| public ByteBuf directBuffer(int initialCapacity, int maxCapacity) Allocate a direct | |
| heapBuffer | back to summary |
|---|---|
| public ByteBuf heapBuffer() Allocate a heap | |
| heapBuffer | back to summary |
|---|---|
| public ByteBuf heapBuffer(int initialCapacity) Allocate a heap | |
| heapBuffer | back to summary |
|---|---|
| public ByteBuf heapBuffer(int initialCapacity, int maxCapacity) Allocate a heap | |
| ioBuffer | back to summary |
|---|---|
| public ByteBuf ioBuffer() Allocate a | |
| ioBuffer | back to summary |
|---|---|
| public ByteBuf ioBuffer(int initialCapacity) Allocate a | |
| ioBuffer | back to summary |
|---|---|
| public ByteBuf ioBuffer(int initialCapacity, int maxCapacity) Allocate a | |
| isDirectBufferPooled | back to summary |
|---|---|
| public boolean isDirectBufferPooled() Returns | |