mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
writting component: Identifier
This commit is contained in:
1 parent
8182946c49
commit
298b804693
3 files changed
+107
-7
No files matched your search
@@ -3,6 +3,7 @@ package component;
|
||||
/*
|
||||
* @Author: Wang Feng
|
||||
* @Description: 名称组件
|
||||
* todo: toUri()函数待完善
|
||||
* @Version: 1.0.0
|
||||
* @Date: 21:26 2021/3/9
|
||||
* @Copyright: MIN-Group;国家重大科技基础设施——未来网络北大实验室;深圳市信息论与未来网络重点实验室
|
||||
@@ -102,10 +103,8 @@ public class IdentifierComponent implements TlvComponentBase, IEncodingAble {
|
||||
* @param block
|
||||
* @return
|
||||
*/
|
||||
public static IdentifierComponent createIdentifierComponentByBlock(Block block){
|
||||
IdentifierComponent identifierComponent=new IdentifierComponent(0);
|
||||
identifierComponent.wireDecode(block);
|
||||
return identifierComponent;
|
||||
public IdentifierComponent(Block block){
|
||||
this.wireDecode(block);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user