SDK Software CRC Toolkit
Adler32Bytes Method

      Example      


Description
Calculates an Adler32 checksum for a byte array.
Syntax
varCRC = CRCControlObject.Adler32Bytes(ByteArray(), HexYN, [FCS])

The Adler32Bytes Method has the following parts:

Part Description
ByteArray() Required. The byte array 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.
FCS Optional. Long integer. An FCS or Frame Check Sequence is used for pre-conditioning the crc generator. Omit this argument to use the default FCS. Pass the interim CRC generated by a previous run of this method to process a byte array (or indeed a file) in chunks. See the sample code supplied for more information.


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