Zlib.inflate: Difference between revisions
From GiderosMobile
No edit summary |
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> | ||
< | <syntaxhighlight lang="lua"> | ||
(stream) = zlib.inflate(source,windowBits,dictionary) | (stream) = zlib.inflate(source,windowBits,dictionary) | ||
</source> | </source> | ||
Revision as of 13: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