Zlib.adler32

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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