public class PoolBlock extends Object
---------------------------------bytes =6 ~ 8192
byte[2] attrPool-size (0~4095) 池大小 0x0FFF
byte[4] att-length 属性1大小
byte[4] att-length 属性2大小
...
---------------------------------bytes =n
dataBody 数据内容
bytes[...]
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DataMaxSize |
static int |
NULL_MARK |
static short |
PoolMaxSize |
| 构造器和说明 |
|---|
PoolBlock() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fillFrom(io.netty.buffer.ByteBuf formData) |
void |
fillTo(io.netty.buffer.ByteBuf toData) |
protected void |
finalize() |
int[] |
getPoolData()
池数据
|
int |
getPoolLength()
池长度
|
int |
getPoolSize()
池大小
|
short |
pushData(byte[] dataArray)
添加请求参数。
|
byte[] |
readPool(short attrIndex)
内容所处起始位置
|
void |
release() |
public static final int NULL_MARK
public static int DataMaxSize
public static short PoolMaxSize
public void fillFrom(io.netty.buffer.ByteBuf formData)
public void fillTo(io.netty.buffer.ByteBuf toData)
public short pushData(byte[] dataArray)
public int getPoolLength()
public int getPoolSize()
public int[] getPoolData()
public byte[] readPool(short attrIndex)
public void release()
Copyright © 2020–2021. All rights reserved.