| 构造器和说明 |
|---|
TLV() |
TLV(int min,
int max) |
TLV(short tag) |
TLV(short tag,
int min,
int max)
Sets all the necessary params of the TLV.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
void |
fromBytes(byte[] buffer) |
int |
fromBytes(byte[] buffer,
int offset) |
short |
getLength() |
short |
getTag()
Returns the tag of this TLV.
|
abstract byte[] |
getValueData() |
boolean |
hasValue() |
protected void |
markValueSet() |
void |
setTag(short tag)
Sets the tag of this TLV.
|
abstract void |
setValueData(byte[] buffer) |
byte[] |
toBytes() |
int |
toBytes(byte[] buffer,
int offset) |
public TLV()
public TLV(short tag)
public TLV(int min,
int max)
public TLV(short tag,
int min,
int max)
Copyright © 2019. All rights reserved.