accroding to the docs of setBufferSize() and svbuf(): > setBufferSize() has to be called right after opening file before any other operation! so changing buffer sizes on an already opened and partially read file can cause file corruption as the internal buffer is exchanged "mid-flight". Fix: move all f.setBufferSize() so they appear directly after f.open().
18 KiB
18 KiB