… | |
… | |
712 | |
712 | |
713 | Type forcing is done by calling a special "cast" function which keeps a |
713 | Type forcing is done by calling a special "cast" function which keeps a |
714 | copy of the value and returns a new value that can be handed over to any |
714 | copy of the value and returns a new value that can be handed over to any |
715 | CBOR encoder function. |
715 | CBOR encoder function. |
716 | |
716 | |
717 | The following casts are currently available (all of which are unary operators): |
717 | The following casts are currently available (all of which are unary |
|
|
718 | operators, that is, have a prototype of C<$>): |
718 | |
719 | |
719 | =over |
720 | =over |
720 | |
721 | |
721 | =item CBOR::XS::as_int $value |
722 | =item CBOR::XS::as_int $value |
722 | |
723 | |