finished component: IdentifierComponent

This commit is contained in:
free will committed 2021-03-10 17:32:40 +08:00
1 parent 37cb1a9b36
commit 8182946c49
21 files changed
+279 -37

No files matched your search

+2 -2
View File
@@ -256,7 +256,7 @@ public class Encoder {
* @return
*/
public int prependBlock(Block block){
return this.prependByteArrayBlock(block.getTlvType(),block.getValue(),new SizeT(block.getLength()));
return this.prependByteArrayBlock(block.getType(),block.getValue(),new SizeT(block.getLength()));
}
/**
@@ -265,7 +265,7 @@ public class Encoder {
* @return
*/
public int appendBlock(Block block){
return this.appendByteArrayBlock(block.getTlvType(),block.getValue(),new SizeT(block.getLength()));
return this.appendByteArrayBlock(block.getType(),block.getValue(),new SizeT(block.getLength()));
}
/**