This method should return an array of tags in order of preference:
The first tag in the array is the "preferred" tag and will be used
when encoding values of this type via
CborTaggedEncodable.taggedCbor().
All tags in the array are considered equivalent for decoding. When
CborTaggedDecodable.fromTaggedCbor() is called, any tag in this
array will be accepted as valid for this type.
This design enables backward compatibility: you can introduce a new tag
(placed first in the array) while still supporting older tags for
decoding.
For standard CBOR tags, you can use predefined tag constants from the
tags module, or create custom tags with createTag().
Returns the CBOR tags associated with this type.
This method should return an array of tags in order of preference:
The first tag in the array is the "preferred" tag and will be used when encoding values of this type via
CborTaggedEncodable.taggedCbor().All tags in the array are considered equivalent for decoding. When
CborTaggedDecodable.fromTaggedCbor()is called, any tag in this array will be accepted as valid for this type.This design enables backward compatibility: you can introduce a new tag (placed first in the array) while still supporting older tags for decoding.
For standard CBOR tags, you can use predefined tag constants from the
tagsmodule, or create custom tags withcreateTag().