io_file.setbuf [method]
io_file.setbuf( int size )
sets the size of file buffer (0 to disable buffering), returns bool
- buffering allows to avoid committing each write immediately to disk, resulting in a performance gain, however it may introduce issues if application is expected to fail at any moment, resulting in some data not being written in such cases