mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
finished component: IdentifierComponent
This commit is contained in:
1 parent
37cb1a9b36
commit
8182946c49
21 files changed
+279
-37
No files matched your search
@@ -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()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user