… | |
… | |
814 | |
814 | |
815 | These tags are automatically created (and decoded) for serialisable |
815 | These tags are automatically created (and decoded) for serialisable |
816 | objects using the C<FREEZE/THAW> methods (the L<Types::Serialier> object |
816 | objects using the C<FREEZE/THAW> methods (the L<Types::Serialier> object |
817 | serialisation protocol). See L<OBJECT SERIALISATION> for details. |
817 | serialisation protocol). See L<OBJECT SERIALISATION> for details. |
818 | |
818 | |
819 | =item 28, 29 (shareable, sharedref, L <http://cbor.schmorp.de/value-sharing>) |
819 | =item 28, 29 (shareable, sharedref, L<http://cbor.schmorp.de/value-sharing>) |
820 | |
820 | |
821 | These tags are automatically decoded when encountered (and they do not |
821 | These tags are automatically decoded when encountered (and they do not |
822 | result in a cyclic data structure, see C<allow_cycles>), resulting in |
822 | result in a cyclic data structure, see C<allow_cycles>), resulting in |
823 | shared values in the decoded object. They are only encoded, however, when |
823 | shared values in the decoded object. They are only encoded, however, when |
824 | C<allow_sharing> is enabled. |
824 | C<allow_sharing> is enabled. |
… | |
… | |
834 | will be shared, others will not. While non-reference shared values can be |
834 | will be shared, others will not. While non-reference shared values can be |
835 | generated in Perl with some effort, they were considered too unimportant |
835 | generated in Perl with some effort, they were considered too unimportant |
836 | to be supported in the encoder. The decoder, however, will decode these |
836 | to be supported in the encoder. The decoder, however, will decode these |
837 | values as shared values. |
837 | values as shared values. |
838 | |
838 | |
839 | =item 256, 25 (stringref-namespace, stringref, L <http://cbor.schmorp.de/stringref>) |
839 | =item 256, 25 (stringref-namespace, stringref, L<http://cbor.schmorp.de/stringref>) |
840 | |
840 | |
841 | These tags are automatically decoded when encountered. They are only |
841 | These tags are automatically decoded when encountered. They are only |
842 | encoded, however, when C<pack_strings> is enabled. |
842 | encoded, however, when C<pack_strings> is enabled. |
843 | |
843 | |
844 | =item 22098 (indirection, L<http://cbor.schmorp.de/indirection>) |
844 | =item 22098 (indirection, L<http://cbor.schmorp.de/indirection>) |