public class FrameLengthCodec extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FRAME_LENGTH_MASK |
static int |
FRAME_LENGTH_SIZE |
Modifier and Type | Method and Description |
---|---|
static ByteBuf |
encode(ByteBufAllocator allocator,
int length,
ByteBuf frame) |
static ByteBuf |
frame(ByteBuf byteBuf) |
static int |
length(ByteBuf byteBuf) |
public static final int FRAME_LENGTH_MASK
public static final int FRAME_LENGTH_SIZE