Difference between revisions of "Zlib.inflate"

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 an inflate stream.</translate>
 
<translate>Return an inflate stream.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(stream) = zlib.inflate(source,windowBits,dictionary)
 
(stream) = zlib.inflate(source,windowBits,dictionary)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''source''': (many) <translate>string | function | { read: function, close: function }</translate> <br/>
 
'''source''': (many) <translate>string | function | { read: function, close: function }</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/>
 
'''dictionary''': (string) <translate>compression dictionary</translate> '''optional'''<br/>
 
'''dictionary''': (string) <translate>compression dictionary</translate> '''optional'''<br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (stream) <translate>inflate stream</translate><br/>
+
'''<translate>Returns</translate>''' (stream) <translate>inflate stream</translate><br/>

Revision as of 08:27, 24 August 2018

Available since: Gideros 2015.04.18

Description

Return an inflate 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) inflate stream