RetroArch
Functions
crc32.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <retro_common_api.h>
Include dependency graph for crc32.h:
This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

◆ encoding_crc32()

RETRO_BEGIN_DECLS uint32_t encoding_crc32 ( uint32_t  crc,
const uint8_t buf,
size_t  len 
)
Here is the caller graph for this function:

◆ file_crc32()

uint32_t file_crc32 ( uint32_t  crc,
const char *  path 
)

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.

Here is the call graph for this function:
Here is the caller graph for this function: