Buffer.fromFilePart() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
path |
{string:path} |
No |
size |
{int} |
No |
offset? |
{int} |
Yes |
file_offset? |
{int} |
Yes |
Not applicable.
Recreate a part of a Buffer
from the specified file containing a previously saved file and load it to this Buffer
. For both this Buffer
and the file, a byte offset can be specified forw here the operation will start and then continue until either the specified size in bytes was affected or the end of this Buffer
is reached.