|
QuickHash Library |
Type Library |
|
ADLER32_CalculateStr
void ADLER32_CalculateStr(
[out]ADLER32_Digest* pDigest, [ in , string ] unsigned char*
pSrc );
Parameters
pDigest
[out] A memory
buffer that will receive the checksum.
Note. All predefined types are specified in the
Predefined Types List.
pSrc
[in] A
null-terminated string for which to calculate the checksum.
Remarks
Calculates the
ADLER32
checksum for the
null-terminated string
specified by pSrc. The checksum is retrieved in the pDigest
memory buffer.
VB Example
Private Sub MyButton_Click()
Dim Checksum As ADLER32_Digest
Dim MyStrData As String
MyStrData = "Hello World!"
'Get the checksum
ADLER32_CalculateStr Checksum, MyStrData
'Show the hexadecimal representation of the checksum
MsgBox QHASH_ConvertToHex(Checksum.Value(0), ADLER32_DIGESTSIZE, True)
End Sub
|
|
Type Library Overview
| Type Library Functions
|
Useful Links | HashCalc
See Also
ADLER32_CalculateStrHex,
ADLER32_Calculate,
ADLER32_CalculateHex,
QHASH_ConvertToHex
|