Zlib.adler32

From GiderosMobile
Revision as of 14:32, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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