athena/include/Checksums.hpp

16 lines
350 B
C++
Raw Normal View History

2013-09-11 16:39:20 +00:00
#ifndef CHECKSUMS_HPP
#define CHECKSUMS_HPP
#include <Types.hpp>
namespace zelda
{
namespace Checksums
{
2013-09-28 15:14:13 +00:00
Uint32 crc32(const Uint8* data, Uint64 length, Uint32 seed = 0xFFFFFFFF);
Uint16 crc16CCITT(const Uint8* data, Uint64 length, Uint16 seed = 0xFFFF, Uint16 final = 0);
Uint16 crc16(const Uint8* data, Uint64 length);
2013-09-11 16:39:20 +00:00
}
}
#endif // CHECKSUMS_HPP