Skip to content

Commit 7dc04c9

Browse files
committed
Adds list refs #2694
1 parent d2a09a4 commit 7dc04c9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/Type/Blob.pod6

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,16 @@ be UTF-8 by default.
122122
On malformed utf-8 C<.decode> will throw X::AdHoc. To handle sloppy utf-8 use
123123
L«C<utf8-c8>|/language/unicode#UTF8-C8».
124124
125+
=head2 method list
126+
127+
Defined as:
128+
129+
multi method list(Blob:D:)
130+
131+
Returns the list of codepoints:
132+
133+
say "zipi".encode("ascii").list; # OUTPUT: «(122 105 112 105)␤»
134+
125135
=head2 method gist
126136
127137
Defined as:

0 commit comments

Comments
 (0)