… | |
… | |
455 | =head1 MAGIC HEADER |
455 | =head1 MAGIC HEADER |
456 | |
456 | |
457 | There is no way to distinguish CBOR from other formats |
457 | There is no way to distinguish CBOR from other formats |
458 | programmatically. To make it easier to distinguish CBOR from other |
458 | programmatically. To make it easier to distinguish CBOR from other |
459 | formats, the CBOR specification has a special "magic string" that can be |
459 | formats, the CBOR specification has a special "magic string" that can be |
460 | prepended to any CBOR string without changing it's meaning. |
460 | prepended to any CBOR string without changing its meaning. |
461 | |
461 | |
462 | This string is available as C<$CBOR::XS::MAGIC>. This module does not |
462 | This string is available as C<$CBOR::XS::MAGIC>. This module does not |
463 | prepend this string tot he CBOR data it generates, but it will ignroe it |
463 | prepend this string to the CBOR data it generates, but it will ignore it |
464 | if present, so users can prepend this string as a "file type" indicator as |
464 | if present, so users can prepend this string as a "file type" indicator as |
465 | required. |
465 | required. |
466 | |
466 | |
467 | |
467 | |
468 | =head1 THE CBOR::XS::Tagged CLASS |
468 | =head1 THE CBOR::XS::Tagged CLASS |