all repos — mgba @ d7968ccc0ddc0beb93d8b4044d2324a5e390f391

mGBA Game Boy Advance Emulator

src/util/crc32.h (view raw)

 1#ifndef CRC32_H
 2#define CRC32_H
 3
 4#include <stdint.h>
 5#include <string.h>
 6
 7struct VFile;
 8
 9uint32_t crc32(const void* buf, size_t size);
10uint32_t updateCrc32(uint32_t crc, const void* buf, size_t size);
11uint32_t fileCrc32(struct VFile* file, size_t endOffset);
12
13#endif