hash/ crc32.bi | |
License | Copyright © 2009, FreeBASIC Extended Library Development Group |
ext. hashes | |
Functions | |
crc32 | Calculates the 32 bit cyclic redundancy check of a memory buffer. |
crc32 | Calculates the 32 bit cyclic redundancy check of a string. |
Copyright © 2009, FreeBASIC Extended Library Development Group
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com- /p- /fb-extended-lib- /wiki- /License
declare function crc32 overload ( byval buf As const any ptr, byval buf_len as uinteger, byval crc as uinteger = 0 ) As uinteger
Calculates the 32 bit cyclic redundancy check of a memory buffer.
buf | pointer to memory buffer. |
buf_len | length of buffer in bytes. |
crc | optional value to initialize the hash with, defaults to 0 |
uinteger containing the hash.
Calculates the 32 bit cyclic redundancy check of a memory buffer.
declare function crc32 overload ( byval buf As const any ptr, byval buf_len as uinteger, byval crc as uinteger = 0 ) As uinteger