Buffer.decompress() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
replace? |
{bool} |
Yes |
{Buffer} | On error: {undefined}
Create a copy of this Buffer with entirety of its data processed with zlib decompression, restoring its data to original form. A decompressed Buffer, will be returned, either as a separate copy or by replacing the reference of this Buffer.