all repos — mgba @ 02116415d18be3b9d9924730fcc16de195ba996f

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