public class KlvInt extends KlvNumericalDataElement<Integer>
Represents a KLV element that has a int value.
  • Constructor Details

    • KlvInt

      public KlvInt(byte[] key, String name)
      Constructs a KlvInt representing a KLV element that has a int value.
      Parameters:
      key - the data element's key
      name - a name describing the data element's value
    • KlvInt

      public KlvInt(byte[] key, String name, Optional<Integer> errorIndicatorValue)
      Constructs a KlvInt representing a KLV element that has a int value.
      Parameters:
      key - the data element's key
      name - a name describing the data element's value
      errorIndicatorValue - value that indicates an encoded error
  • Method Details