|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TLV
The TLV interface defines an immutable type-length-value object. TLV's are the low-level encoding representation of a DOCSIS option.
OptionValue| Method Summary | |
|---|---|
int |
getLength()
Returns the value of the TLV's length field. |
int |
getLengthByteCount()
Returns the number of length bytes used by the TLV. |
int |
getType()
Returns the value of the TLV's type field. |
byte[] |
getValue()
Returns the binary value of the TLV's value field as a byte array. |
String |
getValueString()
Returns the TLV's string representation. |
boolean |
isFragmented()
Returns whether the TLV is fragmented. |
byte[] |
toByteArray()
Returns the TLV's binary representation. |
| Method Detail |
|---|
byte[] toByteArray()
int getLength()
int getType()
byte[] getValue()
String getValueString()
boolean isFragmented()
int getLengthByteCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||