public class Allocator
extends java.lang.Object
| Constructor and Description |
|---|
Allocator() |
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
buffer(io.netty.buffer.ByteBufAllocator alloc) |
static io.netty.buffer.ByteBuf |
buffer(io.netty.buffer.ByteBufAllocator alloc,
int initialCapacity) |
static io.netty.buffer.ByteBuf |
buffer(int initialCapacity) |
static io.netty.buffer.ByteBuf |
directBuffer(int initialCapacity) |
static io.netty.buffer.ByteBuf |
order(io.netty.buffer.ByteBuf buffer) |
static io.netty.buffer.ByteBuf |
wrappedBuffer(byte[] array) |
static io.netty.buffer.ByteBuf |
wrappedBuffer(io.netty.buffer.ByteBuf... buffers) |
public static io.netty.buffer.ByteBuf order(io.netty.buffer.ByteBuf buffer)
public static io.netty.buffer.ByteBuf buffer(int initialCapacity)
public static io.netty.buffer.ByteBuf directBuffer(int initialCapacity)
public static io.netty.buffer.ByteBuf wrappedBuffer(byte[] array)
public static io.netty.buffer.ByteBuf wrappedBuffer(io.netty.buffer.ByteBuf... buffers)
public static io.netty.buffer.ByteBuf buffer(io.netty.buffer.ByteBufAllocator alloc)
public static io.netty.buffer.ByteBuf buffer(io.netty.buffer.ByteBufAllocator alloc,
int initialCapacity)