Difference between revisions of "Zlib.decompress"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2015.04.18<br/>
 
'''Available since:''' Gideros 2015.04.18<br/>
 
=== Description ===
 
=== Description ===
Return the decompressed stream after processing the given buffer.
+
<translate>Return the decompressed stream after processing the given buffer.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(string) = zlib.decompress(buffer,windowBits)
 
(string) = zlib.decompress(buffer,windowBits)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''buffer''': (string) buffer to deflate <br/>
+
'''buffer''': (string) <translate>buffer to deflate</translate> <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) <translate>from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage</translate> '''optional'''<br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (string) decompressed buffer<br/>
+
'''Returns''' (string) <translate>decompressed buffer</translate><br/>

Revision as of 13:33, 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