public class KlvLong extends KlvNumericalDataElement<Long>
Represents a KLV element that has a long value.
  • Constructor Details

    • KlvLong

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

      public KlvLong(byte[] key, String name, Optional<Long> errorIndicatorValue)
      Constructs a KlvLong representing a KLV element that has a long 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