No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
buffer_save_ext(buffer, filename, offset, size);
|buffer||The index of the buffer to save.|
|filename||The name of the file to save as.|
|offset||The offset within the buffer to save from (in bytes).|
|size||The size of the buffer area to save (in bytes).|
With this function you can save part of the contents of a buffer
to a file, ready to be read back into memory using the buffer_load function. The "offset"
defines the start position within the buffer for saving (in bytes),
and the "size" is the size of the buffer area to be saved from that
offset onwards (also in bytes).