Difference between revisions of "Zlib.decompress"
From GiderosMobile
Line 6: | Line 6: | ||
(string) = zlib.decompress(buffer,windowBits) | (string) = zlib.decompress(buffer,windowBits) | ||
</source> | </source> | ||
− | '''buffer''': (string) buffer to deflate | + | === Parameters === |
+ | '''buffer''': (string) buffer to deflate <br/> | ||
'''windowBits''': (number) from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage '''optional'''<br/> | '''windowBits''': (number) from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage '''optional'''<br/> | ||
+ | === Return values === | ||
'''Returns''' (string) decompressed buffer<br/> | '''Returns''' (string) decompressed buffer<br/> |
Revision as of 10:43, 23 August 2018
Available since: Gideros 2015.04.18
Description
Return the decompressed stream after processing the given buffer.
(string) = zlib.decompress(buffer,windowBits)
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