Created
May 12, 2017 17:06
-
-
Save dogbert17/29095e6418272518295b47c5aa9de53a to your computer and use it in GitHub Desktop.
Attempt to document Blob.reverse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=head2 method reverse | |
Defined as: | |
method reverse(Blob:D: --> Blob:D) | |
Returns a Blob with all elements in reversed order. | |
say Blob.new([1, 2, 3]).reverse; # OUTPUT: «Blob:0x<03 02 01>» | |
say blob16.new([2]).reverse; # OUTPUT: «Blob[uint16]:0x<02>» | |
say blob64.new([16, 32]).reverse; # OUTPUT: «Blob[uint64]:0x<20 10>» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment