Zlib.inflate: Difference between revisions
From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight" |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2015.04.18<br/> | |||
''' | '''Class:''' [[zlib]]<br/> | ||
''' | |||
=== | === Description === | ||
Returns an inflated stream. | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(stream) = zlib.inflate(source,windowBits,dictionary) | (stream) = zlib.inflate(source,windowBits,dictionary) | ||
</ | </syntaxhighlight> | ||
=== | |||
'''source''': (many) | === Parameters === | ||
'''windowBits''': (number) | '''source''': (many) string | function | { read: function, close: function } <br/> | ||
'''dictionary''': (string) | '''windowBits''': (number) from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage '''optional'''<br/> | ||
=== | '''dictionary''': (string) compression dictionary '''optional'''<br/> | ||
''' | |||
=== Return values === | |||
'''Returns''' (stream) inflated stream<br/> | |||
{{Zlib}} | {{Zlib}} | ||
Latest revision as of 21: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