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...") |
|||
Line 5: | Line 5: | ||
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. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (string) | + | (string) = zlib.adler32(adler32,buffer) |
</source> | </source> | ||
− | '''adler32 | + | '''adler32''': (number) adler value '''optional'''<br/> |
− | '''buffer | + | '''buffer''': (string) buffer to modify value for '''optional'''<br/> |
'''Returns''' (string) without parameters returns initial value<br/> | '''Returns''' (string) without parameters returns initial value<br/> |
Revision as of 10:16, 23 August 2018
Available since: Gideros 2015.04.18
Description
Without any parameters, returns the inicial adler32 value. Call to update the adler32 value, adler is the current value, buffer is passed to adler32 zlib function and the updated value is returned.
(string) = zlib.adler32(adler32,buffer)
adler32: (number) adler value optional
buffer: (string) buffer to modify value for optional
Returns (string) without parameters returns initial value