Difference between revisions of "Zlib.decompress"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2015.04.18<br/> | |
− | ''' | + | '''Class:''' [[zlib]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Returns the decompressed stream after processing the given buffer. | |
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(string) = zlib.decompress(buffer,windowBits) | (string) = zlib.decompress(buffer,windowBits) | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | '''buffer''': (string) | + | === Parameters === |
− | '''windowBits''': (number) | + | '''buffer''': (string) buffer to deflate<br/> |
− | === | + | '''windowBits''': (number) from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage '''optional'''<br/> |
− | ''' | + | |
+ | === Return values === | ||
+ | '''Returns''' (string) decompressed buffer<br/> | ||
{{Zlib}} | {{Zlib}} |
Latest revision as of 22:36, 1 December 2023
Available since: Gideros 2015.04.18
Class: zlib
Description
Returns the decompressed stream after processing the given buffer.
(string) = zlib.decompress(buffer,windowBits)
Parameters
buffer: (string) buffer to deflate
windowBits: (number) from 8 to 15, larger values of this parameter result in better compression at the expense of memory usage optional
Return values
Returns (string) decompressed buffer