Difference between revisions of "Zlib.inflate"

From GiderosMobile
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2015.04.18<br/>
+
'''Available since:''' Gideros 2015.04.18<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/zlib|zlib]]<br/>
+
'''Class:''' [[zlib]]<br/>
=== <translate>Description</translate> ===
+
 
<translate>Return an inflate stream.</translate>
+
=== Description ===
<source lang="lua">
+
Returns an inflated stream.
 +
<syntaxhighlight lang="lua">
 
(stream) = zlib.inflate(source,windowBits,dictionary)
 
(stream) = zlib.inflate(source,windowBits,dictionary)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''source''': (many) <translate>string | function | { read: function, close: function }</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/>
+
'''source''': (many) string | function | { read: function, close: function } <br/>
'''dictionary''': (string) <translate>compression dictionary</translate> '''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/>
=== <translate>Return values</translate> ===
+
'''dictionary''': (string) compression dictionary '''optional'''<br/>
'''<translate>Returns</translate>''' (stream) <translate>inflate stream</translate><br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (stream) inflated stream<br/>
 +
 
 +
{{Zlib}}

Latest revision as of 22:39, 1 December 2023

Available since: Gideros 2015.04.18
Class: zlib

Description

Returns an inflated stream.

(stream) = zlib.inflate(source,windowBits,dictionary)

Parameters

source: (many) string | function | { read: function, close: function }
windowBits: (number) from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage optional
dictionary: (string) compression dictionary optional

Return values

Returns (stream) inflated stream