Mesen-SX/Utilities/CRC32.h
NovaSquirrel c0e249e993 Revert "Merge branch 'reformat_code'"
This reverts commit daf3b57e89, reversing
changes made to 7a6e0b7d77.
2021-03-10 11:13:28 -05:00

12 lines
No EOL
264 B
C++

#pragma once
#include "stdafx.h"
class CRC32
{
private:
static uint32_t crc32_16bytes(const void* data, size_t length, uint32_t previousCrc32);
public:
static uint32_t GetCRC(uint8_t* buffer, std::streamoff length);
static uint32_t GetCRC(string filename);
};