Difference between revisions of "Zlib.adler32"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 6: Line 6:
 
<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>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = zlib.adler32(adler32,buffer)
 
(string) = zlib.adler32(adler32,buffer)
 
</source>
 
</source>

Revision as of 14:32, 13 July 2023


Available since: Gideros 2015.04.18
Class: zlib

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. <syntaxhighlight lang="lua"> (string) = zlib.adler32(adler32,buffer) </source>

Parameters

adler32: (number) adler value optional
buffer: (string) buffer to modify value for optional

Return values

Returns (string) without parameters returns initial value