UltraScan III
List of all members | Static Public Member Functions
US_Crc Class Reference

Class to provide a method for CRC-32 calculations. More...

#include "us_crc.h"

Static Public Member Functions

static quint32 crc32 (quint32, const unsigned char *, unsigned int)
 Update a CRC value from data of a specified length. More...
 

Detailed Description

Class to provide a method for CRC-32 calculations.

Definition at line 76 of file us_crc.h.

Member Function Documentation

quint32 US_Crc::crc32 ( quint32  crc,
const unsigned char *  buf,
unsigned int  len 
)
static

Update a CRC value from data of a specified length.

Parameters
crcThe input and updated Cyclic Redundancy Check value.
bufThe byte data buffer for which to calculate a CRC.
lenThe length in bytes of the data to check.

Definition at line 3 of file us_crc.cpp.


The documentation for this class was generated from the following files: