Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
#include <cstdint>
Go to the source code of this file.
Functions | |
uint32_t | crc32 (const uint8_t *data, uint16_t size, uint32_t *prevCrc=nullptr) |
Calculates or updates the CRC-32 based on given data. More... | |
uint32_t crc32 | ( | const uint8_t * | data, |
uint16_t | size, | ||
uint32_t * | prevCrc = nullptr |
||
) |
Calculates or updates the CRC-32 based on given data.
[in] | data | Pointer to data. |
[in] | size | Size of data. |
[in] | prevCrc | Previous CRC, or null pointer for first call. |