all repos — mgba @ d5b8fdf81cff2e1cc2dc2836926aa9919ce3146e

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