diff options
Diffstat (limited to 'library/lullaby')
| -rw-r--r-- | library/lullaby/common.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/lullaby/common.lua b/library/lullaby/common.lua index 936feb9..96be2d6 100644 --- a/library/lullaby/common.lua +++ b/library/lullaby/common.lua @@ -9,8 +9,9 @@ meta.stream = {} ---sends the rest of a streams contents to a file ---@param T stream ---@param filename string ----@param bytes integer? max amount to read before stopping -function meta.stream.file(T, filename, bytes) end +---@param bytes integer? max amount to read before stopping, 0 if nil +---@param mode string? what mode to open the file, w if nil +function meta.stream.file(T, filename, bytes, mode) end ---reads bytes from a stream ---@param T stream |
