Type Alias TlvObserver<T>

TlvObserver<T>: ((target: T, topTlv?: Tlv) => void)

Callback before or after decoding TLV-VALUE.

Type Parameters

  • T

Type declaration

    • (target, topTlv?): void
    • Parameters

      • target: T

        Target object.

      • OptionaltopTlv: Tlv

        Top-level TLV element, available in EVD.decode but unavailable in EVD.decodeValue.

      Returns void