add test: PayloadTest

This commit is contained in:
free will committed 2021-03-25 15:02:24 +08:00
1 parent c7093ce143
commit d6fa359bfe
3 files changed
+61

No files matched your search

+3
View File
@@ -16,6 +16,9 @@ public class Payload implements TlvComponentBase,InitialAble, IEncodingAble {
// 成员变量
private byte[] value;
public Payload(){
}
/**
* 构造函数
* @param block
+2
View File
@@ -16,6 +16,8 @@ public class Encoder {
public boolean isEstimator;// 是否仅测量编码后的长度,而不实际进行编码
public SizeT totalReserve; // 编码缓存数组的大小
public static final int MaxPacketSize=8800;
/**
* 编码测量初始化
* @Description: