Type Alias UnknownElementHandler<T>

UnknownElementHandler<T>: ((target: T, tlv: Tlv, order: number) => boolean)

Invoked when a TLV element does not match any rule.

Type Parameters

  • T

Type declaration

    • (target, tlv, order): boolean
    • Parameters

      • target: T
      • tlv: Tlv
      • order: number

        Order number of the last recognized TLV element.

      Returns boolean

      true if this TLV element is accepted; false to follow evolvability guidelines.