Previous:
DgCallocType
Up:
PARC DataGlyph Toolkit 4.0 API
Next:
DgContext_Check
DgComputeCRC
(from DgEncodingUtils.c)
DgUInt16 DgExport DgComputeCRC (
const DgUInt8 *data,
DgInt32 dataLength
);
Summary
Compute the 16-bit
CRC
-
CCITT
checksum for an array of data bytes of a specified length.
Parameters
data
A pointer to the input data.
dataLength
The size of the input data, in bytes.
Return Value
The computed
CRC
-
CCITT
checksum of the input data.