all repos — mgba @ 8fc3ef27ad646863b156cb68e122eeadc0301f67

mGBA Game Boy Advance Emulator

src/util/crc32.h (view raw)

 1#ifndef CRC32_H
 2#define CRC32_H
 3
 4#include "util/common.h"
 5
 6struct VFile;
 7
 8uint32_t doCrc32(const void* buf, size_t size);
 9uint32_t updateCrc32(uint32_t crc, const void* buf, size_t size);
10uint32_t fileCrc32(struct VFile* file, size_t endOffset);
11
12#endif