athena/include/Athena/Checksums.hpp

16 lines
383 B
C++
Raw Normal View History

2014-04-20 09:14:15 +00:00
#ifndef CHECKSUMS_HPP
#define CHECKSUMS_HPP
#include "Athena/Global.hpp"
namespace Athena
{
namespace Checksums
{
atUint32 crc32(const atUint8* data, atUint64 length, atUint32 seed = 0xFFFFFFFF);
atUint16 crc16CCITT(const atUint8* data, atUint64 length, atUint16 seed = 0xFFFF, atUint16 final = 0);
atUint16 crc16(const atUint8* data, atUint64 length);
2014-04-20 09:14:15 +00:00
}
}
#endif // CHECKSUMS_HPP