… | |
… | |
694 | 26 (perl-object, <http://cbor.schmorp.de/perl-object>) |
694 | 26 (perl-object, <http://cbor.schmorp.de/perl-object>) |
695 | These tags are automatically created (and decoded) for serialisable |
695 | These tags are automatically created (and decoded) for serialisable |
696 | objects using the "FREEZE/THAW" methods (the Types::Serialier object |
696 | objects using the "FREEZE/THAW" methods (the Types::Serialier object |
697 | serialisation protocol). See "OBJECT SERIALISATION" for details. |
697 | serialisation protocol). See "OBJECT SERIALISATION" for details. |
698 | |
698 | |
699 | 28, 29 (shareable, sharedref, L <http://cbor.schmorp.de/value-sharing>) |
699 | 28, 29 (shareable, sharedref, <http://cbor.schmorp.de/value-sharing>) |
700 | These tags are automatically decoded when encountered (and they do |
700 | These tags are automatically decoded when encountered (and they do |
701 | not result in a cyclic data structure, see "allow_cycles"), |
701 | not result in a cyclic data structure, see "allow_cycles"), |
702 | resulting in shared values in the decoded object. They are only |
702 | resulting in shared values in the decoded object. They are only |
703 | encoded, however, when "allow_sharing" is enabled. |
703 | encoded, however, when "allow_sharing" is enabled. |
704 | |
704 | |
… | |
… | |
713 | references will be shared, others will not. While non-reference |
713 | references will be shared, others will not. While non-reference |
714 | shared values can be generated in Perl with some effort, they were |
714 | shared values can be generated in Perl with some effort, they were |
715 | considered too unimportant to be supported in the encoder. The |
715 | considered too unimportant to be supported in the encoder. The |
716 | decoder, however, will decode these values as shared values. |
716 | decoder, however, will decode these values as shared values. |
717 | |
717 | |
718 | 256, 25 (stringref-namespace, stringref, L |
718 | 256, 25 (stringref-namespace, stringref, |
719 | <http://cbor.schmorp.de/stringref>) |
719 | <http://cbor.schmorp.de/stringref>) |
720 | These tags are automatically decoded when encountered. They are only |
720 | These tags are automatically decoded when encountered. They are only |
721 | encoded, however, when "pack_strings" is enabled. |
721 | encoded, however, when "pack_strings" is enabled. |
722 | |
722 | |
723 | 22098 (indirection, <http://cbor.schmorp.de/indirection>) |
723 | 22098 (indirection, <http://cbor.schmorp.de/indirection>) |
… | |
… | |
839 | |
839 | |
840 | Strict mode and canonical mode are not implemented. |
840 | Strict mode and canonical mode are not implemented. |
841 | |
841 | |
842 | LIMITATIONS ON PERLS WITHOUT 64-BIT INTEGER SUPPORT |
842 | LIMITATIONS ON PERLS WITHOUT 64-BIT INTEGER SUPPORT |
843 | On perls that were built without 64 bit integer support (these are rare |
843 | On perls that were built without 64 bit integer support (these are rare |
844 | nowadays, even on 32 bit architectures), support for any kind of 64 bit |
844 | nowadays, even on 32 bit architectures, as all major Perl distributions |
|
|
845 | are built with 64 bit integer support), support for any kind of 64 bit |
845 | integer in CBOR is very limited - most likely, these 64 bit values will |
846 | integer in CBOR is very limited - most likely, these 64 bit values will |
846 | be truncated, corrupted, or otherwise not decoded correctly. This also |
847 | be truncated, corrupted, or otherwise not decoded correctly. This also |
847 | includes string, array and map sizes that are stored as 64 bit integers. |
848 | includes string, array and map sizes that are stored as 64 bit integers. |
848 | |
849 | |
849 | THREADS |
850 | THREADS |