mirror of
https://github.com/libretro/Mesen-S.git
synced 2024-11-27 02:20:34 +00:00
12 lines
264 B
C++
12 lines
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);
|
|
}; |