Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
347 B
C++
19 lines
347 B
C++
#ifndef _CRC8STATIC_H_
|
|
#define _CRC8STATIC_H_
|
|
|
|
#include "Common.h"
|
|
|
|
class CCrc8Static
|
|
{
|
|
public:
|
|
|
|
static unsigned char StringCrc8(const char *szString) { return BufferCrc8(szString, strlen(szString)); }
|
|
static unsigned char BufferCrc8(const char *szBuffer, size_t size);
|
|
|
|
protected:
|
|
|
|
static unsigned char s_arrcCrc8Table[256];
|
|
};
|
|
|
|
#endif
|