SlavaSoft FastCRC Library Online Help

Prev Page Next Page
FastCRC Library API

CRC16 API Overview

CRC16 API assists you in generating CRC16 checksums.

CRC16 checksums can be generated in two modes: accumulative and non-accumulative.

The accumulative mode is applied when the data for which the checksum is calculated (data) represents one or more continuous memory block(s) or when the data is created at runtime in many steps (for instance, when reading a file).

Non-accumulative mode can be applied when the data represents one continuous memory block, a null-terminated string, or a file.


To generate the checksum in the accumulative mode, perform the following:


To generate the checksum in the non-accumulative mode, perform one of the following:

#include <FastCRC.h>


CRC16 API Functions   |   Useful Links   |   HashCalc


Samples   CRC16 checksum generation for a file

               CRC16 checksum generation for a string



Send Feedback to SlavaSoft Inc. Tell a friend about FastCRC Library