NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
s_crc.hpp
1
#pragma once
2
#include <types.h>
3
4
/// @brief Wrapper around the runtime's CRC32 calculation function.
5
/// @ingroup slib
6
class
sCrc
{
7
public
:
8
/**
9
* @brief Calculates the CRC32 checksum of a buffer.
10
*
11
* @param data The buffer to checksum.
12
* @param size The size of the buffer, in bytes.
13
* @return The CRC32 checksum.
14
*/
15
static
ulong
calcCRC32
(
const
void
*data, ulong size);
16
};
sCrc
Wrapper around the runtime's CRC32 calculation function.
Definition
s_crc.hpp:6
sCrc::calcCRC32
static ulong calcCRC32(const void *data, ulong size)
Calculates the CRC32 checksum of a buffer.
Definition
s_crc.cpp:4
include
game
sLib
s_crc.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.15.0