Difference between revisions of "Zlib.crc32"

From GiderosMobile
Line 14: Line 14:
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (string) <translate>without parameters returns initial value</translate><br/>
 
'''<translate>Returns</translate>''' (string) <translate>without parameters returns initial value</translate><br/>
 +
 +
{{Zlib}}

Revision as of 22:18, 11 February 2020


Available since: Gideros 2015.04.18
Class: zlib

Description

Without any parameters, returns the inicial crc32 value. Call to update the crc32 value, crc is the current value, buffer is passed to crc32 zlib function and the updated value is returned.

(string) = zlib.crc32(crc32,buffer)

Parameters

crc32: (number) crc32 value optional
buffer: (string) buffer to modify value optional

Return values

Returns (string) without parameters returns initial value