Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace EvDecoder

Index

Type aliases

ElementCallback

ElementCallback<T>: (target: T, tlv: Tlv) => void

Type parameters

  • T

Type declaration

    • (target: T, tlv: Tlv): void
    • Invoked when a matching TLV element is found.

      Parameters

      • target: T
      • tlv: Tlv

      Returns void

IsCriticalCallback

IsCriticalCallback: (tt: number) => boolean

Type declaration

    • (tt: number): boolean
    • Parameters

      • tt: number

      Returns boolean

TargetCallback

TargetCallback<T>: (target: T) => void

Type parameters

  • T

Type declaration

    • (target: T): void
    • Parameters

      • target: T

      Returns void

TopElementCallback

TopElementCallback<T>: (target: T, tlv: Tlv) => void

Type parameters

  • T

Type declaration

    • (target: T, tlv: Tlv): void
    • Parameters

      • target: T
      • tlv: Tlv

      Returns void

UnknownElementCallback

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

Type parameters

  • T

Type declaration

    • (target: T, tlv: Tlv, order: number): boolean
    • Invoked when a TLV element does not match any rule. 'order' denotes the order number of last recognized TLV element. Return true if this TLV element is accepted, or false to follow evolvability guidelines.

      Parameters

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

      Returns boolean

Generated using TypeDoc