public class KlvLong extends KlvNumericalDataElement<Long>
errorIndicatorValuekey, keyBytes, name, value| Constructor and Description |
|---|
KlvLong(byte[] key,
String name)
Constructs a
KlvLong representing a KLV element that has a long value. |
KlvLong(byte[] key,
String name,
Optional<Long> errorIndicatorValue)
Constructs a
KlvLong representing a KLV element that has a long value. |
| Modifier and Type | Method and Description |
|---|---|
protected KlvLong |
copy() |
protected void |
decodeValue(Klv klv) |
isErrorIndicatedgetKey, getKeyAsString, getName, getValuepublic KlvLong(byte[] key,
String name)
KlvLong representing a KLV element that has a long value.key - the data element's keyname - a name describing the data element's valuepublic KlvLong(byte[] key,
String name,
Optional<Long> errorIndicatorValue)
KlvLong representing a KLV element that has a long value.key - the data element's keyname - a name describing the data element's valueerrorIndicatorValue - value that indicates an encoded errorprotected void decodeValue(Klv klv)
decodeValue in class KlvNumericalDataElement<Long>protected KlvLong copy()
copy in class KlvNumericalDataElement<Long>This work is licensed under a Creative Commons Attribution 4.0 International License.