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