|
FEAT 3
Finite Element Analysis Toolbox
|
Static Public Member Functions | |
| static std::uint32_t | crc32 (std::size_t n, const void *buffer) |
| Computes the CRC-32 checksum of a buffer. More... | |
| static std::uint32_t | crc32_update (std::size_t n, const void *buffer, std::uint32_t crc_in) |
| Updates a CRC-32 checksum of a buffer. More... | |
|
static |
Computes the CRC-32 checksum of a buffer.
The polynomial for the CRC table is 0x04C11DB7.
| [in] | n | The length of the input buffer in bytes. |
| [in] | buffer | A transient pointer to the buffer that the checksum is to be computed for |
Definition at line 55 of file hash.cpp.
References crc32_update().
|
static |
Updates a CRC-32 checksum of a buffer.
The polynomial for the CRC table is 0x04C11DB7.
| [in] | n | The length of the input buffer in bytes. |
| [in] | buffer | A transient pointer to the buffer that the checksum is to be updated for |
Definition at line 47 of file hash.cpp.
Referenced by crc32().