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