public interface TlvBuild
Modifier and Type | Field and Description |
---|---|
static java.util.List<byte[]> |
bTlvBuilder
Track all the added TLV Byte Arrays
|
static java.util.Map<java.lang.Integer,java.lang.Integer> |
miiTypeBytelength
Track the TopLevel TLV to its Respected Num Of Byte Length
|
Modifier and Type | Method and Description |
---|---|
void |
add(int iTlvType,
byte[] bValue)
Method add.
|
void |
clear() |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getMapTypeToByteLength()
Method getMapTypeToByteLength.
|
java.util.List<java.lang.Integer> |
getTopLevelTlvList()
Method getTopLevelTlvList.
|
java.util.List<java.lang.Integer> |
getTopLevelTlvList(java.util.Map<java.lang.Integer,java.lang.Integer> miiTypeByteLength)
Method getTopLevelTlvList.
|
java.lang.Boolean |
isEmpty()
Method isEmpty.
|
byte[] |
toByteArray()
Method toByteArray.
|
static final java.util.List<byte[]> bTlvBuilder
static final java.util.Map<java.lang.Integer,java.lang.Integer> miiTypeBytelength
java.util.List<java.lang.Integer> getTopLevelTlvList(java.util.Map<java.lang.Integer,java.lang.Integer> miiTypeByteLength)
miiTypeByteLength
- Mapjava.util.List<java.lang.Integer> getTopLevelTlvList()
byte[] toByteArray()
void add(int iTlvType, byte[] bValue) throws TlvException
iTlvType
- intbValue
- byte[]TlvException
java.lang.Boolean isEmpty()
void clear()
java.util.Map<java.lang.Integer,java.lang.Integer> getMapTypeToByteLength()