Difference between revisions of "Zlib.crc32"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2015.04.18<br/> === Description === Without any parameters, returns the inicial crc32 value. Call to update the crc32 value, crc is th...")
 
Line 5: Line 5:
 
Call to update the crc32 value, crc is the current value, buffer is passed to crc32 zlib function and the updated value is returned.
 
Call to update the crc32 value, crc is the current value, buffer is passed to crc32 zlib function and the updated value is returned.
 
<source lang="lua">
 
<source lang="lua">
(string), = zlib.crc32(crc32buffer,)
+
(string) = zlib.crc32(crc32,buffer)
 
</source>
 
</source>
'''crc32:''' (number) crc32 value '''optional'''<br/>
+
'''crc32''': (number) crc32 value '''optional'''<br/>
'''buffer:''' (string) buffer to modify value '''optional'''<br/>
+
'''buffer''': (string) buffer to modify value '''optional'''<br/>
 
'''Returns''' (string) without parameters returns initial value<br/>
 
'''Returns''' (string) without parameters returns initial value<br/>

Revision as of 11:20, 23 August 2018

Available since: Gideros 2015.04.18

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)

crc32: (number) crc32 value optional
buffer: (string) buffer to modify value optional
Returns (string) without parameters returns initial value