SDK Software CRC Toolkit
Adler32String Method

      Example      


Description
Calculates an Adler32 checksum for an ANSI string.
Syntax
varCRC = CRCControlObject.Adler32String(Text, HexYN)

The Adler32String Method has the following parts:

Part Description
Text Required. The text string for which a CRC should be calculated. Must be at least 1 byte long.
HexYN Required. Boolean value. True if the CRC should be returned as a Hex string, False if it should be returned as a Long integer.
Remarks
The string is passed through StrConv to convert it to ANSI format (since Visual Basic stores strings in Unicode). If you require a CRC for a Unicode string, it should be passed as a byte array to the Adler32Bytes method.


In order to view this documentation as it was intended you need to have scripting turned on.