Difference between revisions of "Zlib.adler32"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2015.04.18<br/>
'''<translate>Available since</translate>:''' Gideros 2015.04.18<br/>
+
'''Class:''' [[zlib]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/zlib|zlib]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Without any parameters, returns the inicial adler32 value.
+
Without any parameters, returns the initial 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>
 
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(string) = zlib.adler32(adler32,buffer)
 
(string) = zlib.adler32(adler32,buffer)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''adler32''': (number) <translate>adler value</translate> '''optional'''<br/>
+
Call to update the adler32 value, adler is the current value, buffer is passed to adler32 zlib function and the updated value is returned.
'''buffer''': (string) <translate>buffer to modify value for</translate> '''optional'''<br/>
+
 
=== <translate>Return values</translate> ===
+
=== Parameters ===
'''<translate>Returns</translate>''' (string) <translate>without parameters returns initial value</translate><br/>
+
'''adler32''': (number) adler value '''optional'''<br/>
 +
'''buffer''': (string) buffer to modify value for '''optional'''<br/>
 +
 
 +
=== Return values ===
 +
'''Returns''' (string) without parameters returns initial value<br/>
  
 
{{Zlib}}
 
{{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