|
QuickHash Library |
Type Library |
|
CRC16_CalculateStr
void CRC16_CalculateStr(
[out]CRC16_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
CRC16
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 CRC16_Digest
Dim MyStrData As String
MyStrData = "Hello World!"
'Get the checksum
CRC16_CalculateStr Checksum, MyStrData
'Show the hexadecimal representation of the checksum
MsgBox QHASH_ConvertToHex(Checksum.Value(0), CRC16_DIGESTSIZE, True)
End Sub
|
|
Type Library Overview
| Type Library Functions
|
Useful Links | HashCalc
See Also
CRC16_CalculateStrHex,
CRC16_Calculate,
CRC16_CalculateHex,
QHASH_ConvertToHex
|