We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774789c commit 1dc88f2Copy full SHA for 1dc88f2
doc/Type/Buf.pod6
@@ -45,9 +45,14 @@ happens from the very beginning of the buffer:
45
46
=head2 routine subbuf-rw
47
48
- sub subbuf-rw(Buf:D $buf, $from, $length?)
+Declared as
49
50
-Returns a writable reference to a part of a buffer. Similar to the C<subbuf-rw> method:
+ multi sub subbuf-rw(Buf:D \b) is rw
51
+ multi sub subbuf-rw(Buf:D \b, Int() $from) is rw
52
+ multi sub subbuf-rw(Buf:D \b, $from, $elems) is rw
53
+
54
+Returns a writable reference to a part of a buffer.
55
+Invokes the C<subbuf-rw> method on the specified C<Buf>:
56
57
my Buf $b .= new(1,2,3);
58
subbuf-rw($b,2,1) = Buf.new(42);
0 commit comments