mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-27 08:49:40 +03:00
c2fbdf929c
git-svn-id: svn://kolibrios.org@1805 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
516 B
C++
19 lines
516 B
C++
#if !defined(AFX_CRC32_H__1F375B73_5C72_4711_B464_7212EFC14AAE__INCLUDED_)
|
|
#define AFX_CRC32_H__1F375B73_5C72_4711_B464_7212EFC14AAE__INCLUDED_
|
|
|
|
class CCRC32
|
|
{
|
|
private:
|
|
Dword table[256];
|
|
|
|
|
|
public:
|
|
Dword GetCRC32( Byte *buffer, Dword length );
|
|
void DoCRC32( Byte *buffer, Dword length, Dword *CRC32value );
|
|
Dword FinalizeCRC32( Dword );
|
|
Dword InitCRC32();
|
|
CCRC32();
|
|
};
|
|
|
|
#endif // !defined(AFX_CRC32_H__1F375B73_5C72_4711_B464_7212EFC14AAE__INCLUDED_)
|