Type Alias UnknownElementHandler<T>

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

Invoked when a TLV element does not match any rule.

Type Parameters

  • T

Type declaration

    • (target: T, tlv: Tlv, order: number): 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.