public class PacketCableCompiler extends TlvBuilder
END_OF_BYTE_ARRAY_INDEX, MAX_TLV_LENGTH, TLV_LENGTH_POS_OFFSET, TLV_ONE_BYTE_LENGTH, TLV_TYPE_LENGTH_OVERHEAD, TLV_TYPE_OVERHEADbTlvBuilder, miiTypeBytelength| Constructor and Description |
|---|
PacketCableCompiler(java.lang.Integer iPacketCableVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
static java.util.List<HexString> |
getTopLevelTlvToHexStringList(byte[] baTlv)
This method will find each TopLevel TLV and put it into a HexString Object
|
static TlvBuilder |
setFileMarkers(byte[] baTLV)
This Method will remove the existing File Markers and re-add them to the ByteArray
|
static TlvBuilder |
stripFileMarkers(byte[] baTLV) |
static byte[] |
stripTlv(int iType,
byte[] bTlvByteArray) |
byte[] |
toByteArray()
Method toByteArray.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String sSeperation) |
add, add, add, add, add, add, add, add, add, add, add, clear, clone, cloneTlvBuffer, coupleMultipleTopLevelTlvValues, encapsulateTlv, encapsulateTlv, encapsulateTlv, fetchTlv, fetchTlv, findTLVIndex, findTLVIndex, findTLVIndex, getHexString, getMapTypeToByteLength, getTlvHexByType, getTlvHexByType, getTlvLength, getTlvValue, getTlvValue, getTlvValue, getTopLevelTlvList, getTopLevelTlvList, isEmpty, isTLVConstruct, isTLVConstruct, length, nextTLVIndex, nextTLVIndex, reorderTLV, sortByTopLevelTlv, sortByTopLevelTlv, stripTlv, stripZeroByteTLV, tlvDump, topLevelTlvToHexStringList, toStringArray, toStringSeperationpublic PacketCableCompiler(java.lang.Integer iPacketCableVersion)
iPacketCableVersion - public void commit()
public byte[] toByteArray()
TlvBuildtoByteArray in interface TlvBuildtoByteArray in class TlvBuilderTlvBuild.toByteArray()public java.lang.String toString()
toString in class TlvBuilderpublic java.lang.String toString(java.lang.String sSeperation)
sSeperation - public static byte[] stripTlv(int iType,
byte[] bTlvByteArray)
throws TlvException
iType - bTlvByteArray - TlvExceptionpublic static java.util.List<HexString> getTopLevelTlvToHexStringList(byte[] baTlv) throws TlvException
baTlv - TlvExceptionpublic static TlvBuilder stripFileMarkers(byte[] baTLV) throws java.lang.NullPointerException
baTLV - java.lang.NullPointerExceptionpublic static TlvBuilder setFileMarkers(byte[] baTLV) throws java.lang.NullPointerException
baTLV - java.lang.NullPointerException