Difference between revisions of "Zlib.decompress"

From GiderosMobile
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2015.04.18<br/>
'''<translate>Available since</translate>:''' Gideros 2015.04.18<br/>
+
'''Class:''' [[zlib]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/zlib|zlib]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Return the decompressed stream after processing the given buffer.</translate>
+
Returns the decompressed stream after processing the given buffer.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = zlib.decompress(buffer,windowBits)
 
(string) = zlib.decompress(buffer,windowBits)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''buffer''': (string) <translate>buffer to deflate</translate> <br/>
+
=== Parameters ===
'''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/>
+
'''buffer''': (string) buffer to deflate<br/>
=== <translate>Return values</translate> ===
+
'''windowBits''': (number) from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage '''optional'''<br/>
'''<translate>Returns</translate>''' (string) <translate>decompressed buffer</translate><br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (string) decompressed buffer<br/>
 +
 
 +
{{Zlib}}

Latest revision as of 22:36, 1 December 2023

Available since: Gideros 2015.04.18
Class: zlib

Description

Returns 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