Package org.yamcs.cfdp.pdu
Class TLV
- java.lang.Object
-
- org.yamcs.cfdp.pdu.TLV
-
public class TLV extends Object
Type, Length, Value
-
-
Constructor Summary
Constructors Constructor Description TLV(byte type, byte[] value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TLVgetEntityIdTLV(long entityId, int entityIdLength)bytegetType()byte[]getValue()static TLVreadTLV(ByteBuffer buffer)StringtoString()voidwriteToBuffer(ByteBuffer buffer)
-
-
-
Method Detail
-
getType
public byte getType()
-
getValue
public byte[] getValue()
-
readTLV
public static TLV readTLV(ByteBuffer buffer)
-
writeToBuffer
public void writeToBuffer(ByteBuffer buffer)
-
getEntityIdTLV
public static TLV getEntityIdTLV(long entityId, int entityIdLength)
-
-