NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches

#include <game/sLib/s_crc.hpp>

Description

Wrapper around the runtime's CRC32 calculation function.

Definition at line 6 of file s_crc.hpp.

Static Public Member Functions

static ulong calcCRC32 (const void *data, ulong size)
 Calculates the CRC32 checksum of a buffer.

Member Function Documentation

◆ calcCRC32()

ulong sCrc::calcCRC32 ( const void * data,
ulong size )
static

Calculates the CRC32 checksum of a buffer.

Parameters
dataThe buffer to checksum.
sizeThe size of the buffer, in bytes.
Returns
The CRC32 checksum.

Definition at line 4 of file s_crc.cpp.