Zlib.decompress
From GiderosMobile
Available since: Gideros 2015.04.18
Class: zlib
Description
Return the decompressed stream after processing the given buffer. <syntaxhighlight lang="lua"> (string) = zlib.decompress(buffer,windowBits) </source>
Parameters
buffer: (string) buffer to deflate
windowBits: (number) from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage optional
Return values
Returns (string) decompressed buffer