FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kCrc32 Class Reference

Description

Implements a CRC-32 generator.

Inheritance diagram for kCrc32:
Inheritance graph

Public Member Functions

kStatus kCrc32_Begin (kCrc32 crc, kCrc32Item *item)
 Begins a streaming CRC calculation. More...
 
kStatus kCrc32_Calculate (kCrc32 crc, const void *data, kSize size, k32u *result)
 Performs a CRC-32 calculation over the given data. More...
 
kStatus kCrc32_Construct (kCrc32 *crc, k32u polynomial, kAlloc allocator)
 Constructs a kCrc32 object. More...
 
kCrc32 kCrc32_Normal ()
 Returns a kCrc32 object initialized with polynomial kCRC32_POLYNOMIAL_NORMAL. More...
 
k32u kCrc32_Result (kCrc32 crc, const kCrc32Item *item)
 Calculates current result of a streaming CRC calculation. More...
 
kStatus kCrc32_Update (kCrc32 crc, kCrc32Item *item, const void *data, kSize size)
 Updates a streaming CRC calculation. More...
 

Related

#define kCRC32_POLYNOMIAL_NORMAL
 

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