|
Public Member Functions |
| ErrCode | Start (void) |
| | Initializes a CRC computation.
|
| ErrCode | Stop (uint32 &uCRC) const |
| | Returns the current CRC value.
|
| ErrCode | Update (PtrConst pData, uint32 uBytes) |
| | Updates an on-going CRC computation.
|
|
uint32 | Get (void) const |
Static Public Member Functions |
| static ErrCode | Compute (const HMemory &buffer, uint32 &uCRC) |
| | Computes the CRC for a memory buffer.
|
| static ErrCode | Compute (PtrConst pData, uint32 uBytes, uint32 &uCRC) |
| | Computes the CRC for a data stream.
|
Static Protected Member Functions |
| static ErrCode | compute (PtrDataConst pData, uint32 uBytes, uint32 &uCRC) |
| | Computes the CRC of a block of data.
|
Protected Attributes |
|
uint32 | m_uCRC |
| | Stores the CRC value.
|