Marmot-TS
    Preparing search index...

    Function decodeComponentsList

    • Decodes an app_components data payload into a sorted, unique id list.

      Rejects duplicate ids and ids that are not in ascending order. The decoder never sorts on the caller's behalf: non-canonical bytes are invalid (foundation/canonical-encoding.md), and MDK's decode_components_list rejects an unsorted list, so accepting one here would let the two implementations disagree on the same GroupContext, LeafNode, or KeyPackage.

      Parameters

      • data: Uint8Array

      Returns number[]