 |
FSetBufSize |
Function (ROM Call 0x3E2) |
Set the buffer size of a file.
FSetBufSize sets the buffer size of the file fsPtr to a new one: newBufSize.
The buffer size determines how much memory
is reallocated to the file every time a write needs more memory from the
heap. The default size (128 bytes) is set when the file is opened and
should be sufficient for most uses. Setting a larger value will make writes
faster but at the cost of possibly prematurely running out of memory.
FSetBufSize returns the value stored in newBufSize.
See also: FOpen, FWrite