Difference between revisions of "Zlib.decompress"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2015.04.18<br/>
+
'''<translate>Available since</translate>:''' Gideros 2015.04.18<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>Return the decompressed stream after processing the given buffer.</translate>
 
<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 ===
+
=== <translate>Parameters</translate> ===
 
'''buffer''': (string) <translate>buffer to deflate</translate> <br/>
 
'''buffer''': (string) <translate>buffer to deflate</translate> <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/>
 
'''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 ===
+
=== <translate>Return values</translate> ===
'''Returns''' (string) <translate>decompressed buffer</translate><br/>
+
'''<translate>Returns</translate>''' (string) <translate>decompressed buffer</translate><br/>

Revision as of 07:30, 24 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