Difference between revisions of "Zlib.decompress"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2015.04.18<br/> === Description === Return the decompressed stream after processing the given buffer. <source lang="lua"> (string), =...")
 
Line 4: Line 4:
 
Return the decompressed stream after processing the given buffer.
 
Return the decompressed stream after processing the given buffer.
 
<source lang="lua">
 
<source lang="lua">
(string), = zlib.decompress(bufferwindowBits,)
+
(string) = zlib.decompress(buffer,windowBits)
 
</source>
 
</source>
'''buffer:''' (string) buffer to deflate ''''''<br/>
+
'''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/>
 
'''Returns''' (string) decompressed buffer<br/>
 
'''Returns''' (string) decompressed buffer<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2015.04.18

Description

Return the decompressed stream after processing the given buffer.

(string) = zlib.decompress(buffer,windowBits)

'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
Returns (string) decompressed buffer