Luna/libluna/include/luna/CRC32.h

14 lines
175 B
C++

#pragma once
#include <luna/Types.h>
class CRC32
{
public:
void append(const u8* data, usize size);
u32 digest();
private:
u32 m_checksum = 0xffffffffu;
};