-
-
Notifications
You must be signed in to change notification settings - Fork 3
zlib.Adler32
Andrew Lambert edited this page Sep 8, 2015
·
9 revisions
#zlib.Adler32
##Method Signature
Protected Function Adler32(NewData As MemoryBlock, LastAdler As UInt32) As UInt32
##Parameters
Name | Type | Comment |
---|---|---|
NewData | MemoryBlock | The next chunk of data to process |
LastAdler | UInt32 | The previous hash value |
##Return value
The running hash value. Pass this value as LastAdler
on the next call.
##Notes This function computes an Adler32 checksum.
You must call this method once with NIL to initialize, and then pass back the returned value to each pass.
Dim adler As UInt32 = zlib.Adler32(Nil, 0) //initialize
While True
adler = zlib.Adler32(NextInputData, adler)
Wend
##See also
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.