Difference between revisions of "Zlib.adler32"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2015.04.18<br/> === Description === Without any parameters, returns the inicial adler32 value. Call to update the adler32 value, adler...") |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2015.04.18<br/> | '''Available since:''' Gideros 2015.04.18<br/> | ||
+ | '''Class:''' [[zlib]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | Without any parameters, returns the | + | Without any parameters, returns the initial adler32 value. |
+ | <syntaxhighlight lang="lua"> | ||
+ | (string) = zlib.adler32(adler32,buffer) | ||
+ | </syntaxhighlight> | ||
+ | |||
Call to update the adler32 value, adler is the current value, buffer is passed to adler32 zlib function and the updated value is returned. | Call to update the adler32 value, adler is the current value, buffer is passed to adler32 zlib function and the updated value is returned. | ||
− | + | ||
− | + | === Parameters === | |
− | + | '''adler32''': (number) adler value '''optional'''<br/> | |
− | '''adler32 | + | '''buffer''': (string) buffer to modify value for '''optional'''<br/> |
− | '''buffer | + | |
+ | === Return values === | ||
'''Returns''' (string) without parameters returns initial value<br/> | '''Returns''' (string) without parameters returns initial value<br/> | ||
+ | |||
+ | {{Zlib}} |
Latest revision as of 22:31, 1 December 2023
Available since: Gideros 2015.04.18
Class: zlib
Description
Without any parameters, returns the initial adler32 value.
(string) = zlib.adler32(adler32,buffer)
Call to update the adler32 value, adler is the current value, buffer is passed to adler32 zlib function and the updated value is returned.
Parameters
adler32: (number) adler value optional
buffer: (string) buffer to modify value for optional
Return values
Returns (string) without parameters returns initial value