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 path and load it to this Buffer. Byte offsets can be specified for Both this Buffer and the file to have the operation start and continue until either the specified amount of bytes was affected or the end of this Buffer was reached.