Difference between revisions of "Zlib.adler32"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2015.04.18<br/> | + | '''<translate>Available since</translate>:''' Gideros 2015.04.18<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Without any parameters, returns the inicial adler32 value. | <translate>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.</translate> | Call to update the adler32 value, adler is the current value, buffer is passed to adler32 zlib function and the updated value is returned.</translate> | ||
Line 7: | Line 7: | ||
(string) = zlib.adler32(adler32,buffer) | (string) = zlib.adler32(adler32,buffer) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''adler32''': (number) <translate>adler value</translate> '''optional'''<br/> | '''adler32''': (number) <translate>adler value</translate> '''optional'''<br/> | ||
'''buffer''': (string) <translate>buffer to modify value for</translate> '''optional'''<br/> | '''buffer''': (string) <translate>buffer to modify value for</translate> '''optional'''<br/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (string) <translate>without parameters returns initial value</translate><br/> | + | '''<translate>Returns</translate>''' (string) <translate>without parameters returns initial value</translate><br/> |
Revision as of 07:27, 24 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)
Parameters
adler32: (number) adler value optional
buffer: (string) buffer to modify value for optional
Return values
Returns (string) without parameters returns initial value