Available since LÖVE 0.9.0
This function is not supported in earlier versions.
Sets the buffer mode for a file opened for writing or appending. Files with buffering enabled will not write data to the disk until the buffer size limit is reached, depending on the buffer mode.
File:flush will force any buffered data to be written to the disk.
success, errorstr = File:setBuffer( mode, size )
BufferMode mode
number size (0)
boolean success
string errorstr (nil)
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/(File):setBuffer