Athena IO Library
Checksums.hpp
1 #ifndef CHECKSUMS_HPP
2 #define CHECKSUMS_HPP
3 
4 #include "athena/Global.hpp"
5 
6 namespace athena
7 {
8 namespace Checksums
9 {
10 atUint32 crc32(const atUint8* data, atUint64 length, atUint32 mask = 0xFFFFFFFF, atUint32 seed = 0xFFFFFFFF);
11 atUint16 crc16CCITT(const atUint8* data, atUint64 length, atUint16 seed = 0xFFFF, atUint16 final = 0);
12 atUint16 crc16(const atUint8* data, atUint64 length);
13 }
14 }
15 #endif // CHECKSUMS_HPP