Difference between revisions of "Zlib.inflate"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2015.04.18<br/> === Description === Return an inflate stream. <source lang="lua"> (stream), = zlib.inflate(sourcewindowBitsdictionary,...")
 
Line 4: Line 4:
 
Return an inflate stream.
 
Return an inflate stream.
 
<source lang="lua">
 
<source lang="lua">
(stream), = zlib.inflate(sourcewindowBitsdictionary,)
+
(stream) = zlib.inflate(source,windowBits,dictionary)
 
</source>
 
</source>
'''source:''' (many) string | function | { read: function, close: function } ''''''<br/>
+
'''source''': (many) string | function | { read: function, close: function } ''''''<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) 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/>
+
'''dictionary''': (string) compression dictionary '''optional'''<br/>
 
'''Returns''' (stream) inflate stream<br/>
 
'''Returns''' (stream) inflate stream<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2015.04.18

Description

Return an inflate stream.

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

'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
Returns (stream) inflate stream