Difference between revisions of "Zlib.inflate"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Return an inflate stream.</translate>
 
<translate>Return an inflate stream.</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(stream) = zlib.inflate(source,windowBits,dictionary)
 
(stream) = zlib.inflate(source,windowBits,dictionary)
 
</source>
 
</source>

Revision as of 14:32, 13 July 2023


Available since: Gideros 2015.04.18
Class: zlib

Description

Return an inflate stream. <syntaxhighlight lang="lua"> (stream) = zlib.inflate(source,windowBits,dictionary) </source>

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