Function defineGettersSetters

  • Define simple getters and setters.

    Type Parameters

    Parameters

    • typ: (new () => T)

      Extensible subclass constructor.

        • new (): T
        • Returns T

    • exts: Record<string, number>

      Extensions, each key is a property name and each value is the TLV-TYPE number.

    Returns void