@blockchaincommons/dcbor - v1.0.0-beta.1
    Preparing search index...
    • Construct a tagged value - the ONLY explicit tagged-value constructor.

      Parameters

      • tag: CborNumber | Tag

        The tag number (number | bigint) or a Tag object (its .value is used; names never reach the wire).

      • content: CborInput

        Anything cbor() accepts.

      Returns Cbor

      taggedValue(1, 1675854714);        // epoch date, tag 1
      taggedValue(Tag.from(32), "https://example.com/"); // URI, tag 32