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