You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/interfaces/stream.md
+2
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,8 @@ Writes the string `str` to the stream and ends the stream. On error, returns `ni
93
93
94
94
-`options` is a table containing:
95
95
- `.file` (file)
96
+
- `.count` (positive integer): number of bytes of `file` to write
97
+
defaults to infinity (the whole file will be written)
96
98
97
99
Writes the contents of file `file` to the stream and ends the stream. `file` will not be automatically seeked, so ensure it is at the correct offset before calling. On error, returns `nil`, an error message and an error number.
0 commit comments