Construct a tagged value - the ONLY explicit tagged-value constructor.
The tag number (number | bigint) or a Tag object (its .value is used; names never reach the wire).
number | bigint
Tag
.value
Anything cbor() accepts.
cbor()
taggedValue(1, 1675854714); // epoch date, tag 1taggedValue(Tag.from(32), "https://example.com/"); // URI, tag 32 Copy
taggedValue(1, 1675854714); // epoch date, tag 1taggedValue(Tag.from(32), "https://example.com/"); // URI, tag 32
Construct a tagged value - the ONLY explicit tagged-value constructor.