|
RetroArch
|
Go to the source code of this file.
Functions | |
| RETRO_BEGIN_DECLS uint32_t | encoding_crc32 (uint32_t crc, const uint8_t *buf, size_t len) |
| uint32_t | file_crc32 (uint32_t crc, const char *path) |
| RETRO_BEGIN_DECLS uint32_t encoding_crc32 | ( | uint32_t | crc, |
| const uint8_t * | buf, | ||
| size_t | len | ||
| ) |
Calculate a CRC32 from the first part of the given file. "first part" being the first (CRC32_BUFFER_SIZE * CRC32_MAX_MB) bytes.
Returns: the crc32, or 0 if there was an error.
1.8.15