Created by Scott Robert Ladd at Coyote Gulch Productions.
#include <crccalc.h>
libcoyotl::crc_calculator::crc_calculator | ( | ) |
Constructs a new CRC value with a base value of 0xFFFFFFFF.
crc32_t libcoyotl::crc_calculator::get_crc32 | ( | ) | [inline] |
Returns the current 32-bit CRC value. This value will change with subsequent calls to update.
void libcoyotl::crc_calculator::update | ( | const unsigned char * | a_data, | |
size_t | a_length | |||
) |
Updates the crc value from the bytes provided in data. Each time this function is called for a given crc_calculator, the 32-bit CRC value changes to reflect the new bytes.
a_data | - Array of bytes to be "added" to the CRC value | |
a_length | - Number of bytes in the data array |
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.