File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,32 @@ Binary writing; writes C<$buf> to the filehandle.
67
67
68
68
= head2 method seek
69
69
70
+ method seek(IO::Handle:D: Int:D $offset, Int:D $whence)
71
+
72
+ Move the file pointer (that is the position at which any subsequent read
73
+ or write operations will begin,) to the byte position specified by
74
+ C < $offset > relative to the location specified by C < $whence > which may be
75
+ one of:
76
+
77
+ = item 0
78
+
79
+ The beginning of the file.
80
+
81
+ = item 1
82
+
83
+ The current position in the file.
84
+
85
+ = item 2
86
+
87
+ The end of the file.
88
+
70
89
= head2 method tell
71
90
72
- = head2 method slurp
91
+ method tell(IO::Handle:D: --> Int)
92
+
93
+ Return the current position of the file pointer in bytes.
73
94
74
- = head2 method spurt
95
+ = head2 method slurp-rest
75
96
76
97
= head2 method close
77
98
You can’t perform that action at this time.
0 commit comments