1Type 6 – Semantic tags 2============================= 3 4Tag are additional metadata that can be used to extend or specialize the meaning or interpretation of the other data items. 5 6For example, one might tag an array of numbers to communicate that it should be interpreted as a vector. 7 8Please consult the official `IANA repository of CBOR tags <https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml>`_ before inventing new ones. 9 10================================== ====================================================== 11Corresponding :type:`cbor_type` ``CBOR_TYPE_TAG`` 12Number of allocations One plus any manipulations with the data 13 reallocations relative to chunk count 14Storage requirements ``sizeof(cbor_item_t) + the tagged item`` 15================================== ====================================================== 16 17.. doxygenfunction:: cbor_new_tag 18.. doxygenfunction:: cbor_tag_item 19.. doxygenfunction:: cbor_tag_value 20.. doxygenfunction:: cbor_tag_set_item 21 22