Difference between revisions of "Zlib.inflate"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2015.04.18<br/> | '''Available since:''' Gideros 2015.04.18<br/> | ||
=== Description === | === Description === | ||
− | Return an inflate stream. | + | <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 === | === Parameters === | ||
− | '''source''': (many) string | function | { read: function, close: function } <br/> | + | '''source''': (many) <translate>string | function | { read: function, close: function }</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/> |
− | '''dictionary''': (string) compression dictionary '''optional'''<br/> | + | '''dictionary''': (string) <translate>compression dictionary</translate> '''optional'''<br/> |
=== Return values === | === Return values === | ||
− | '''Returns''' (stream) inflate stream<br/> | + | '''Returns''' (stream) <translate>inflate stream</translate><br/> |
Revision as of 13:33, 23 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