add packet test: LpPacketTest

This commit is contained in:
free will committed 2021-04-08 11:22:42 +08:00
1 parent 56eeae6dd7
commit 43468b0999
23 files changed
+208 -16

No files matched your search

+8
View File
@@ -16,6 +16,14 @@ public class LpPacket implements IEncodingAble {
public LpPacketHeader lpPacketHeader=new LpPacketHeader();
public Payload payload=new Payload();
public LpPacket(){
}
public LpPacket(LpPacketHeader lpPacketHeader,Payload payload){
this.lpPacketHeader=lpPacketHeader;
this.payload=payload;
}
/**
* 将 LpPacket 线速编码为一个 TLV
* @param encoder