|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|

Functions | |
| uint32_t | Juno_CrcZipUpdate (uint32_t iCrc, const void *pcData, size_t zDataSize) |
| Update ZIP CRC (CRC-32) with new data. | |
| uint32_t Juno_CrcZipUpdate | ( | uint32_t | iCrc, |
| const void * | pcData, | ||
| size_t | zDataSize | ||
| ) |
Update ZIP CRC (CRC-32) with new data.
Applies a final XOR (0xFFFFFFFF) to the computed value before returning when data is processed. If streaming across multiple chunks, undo the XOR on the returned value before using it as the next iCrc. When pcData is NULL or zDataSize is 0, the function returns 0 (no XOR is applied in that case).
| iCrc | Running CRC value (use JUNO_ZIP_CRC_INIT initially). |
| pcData | Pointer to data buffer (can be NULL when zDataSize is 0). |
| zDataSize | Size of data buffer in bytes. |
pcData is NULL or zDataSize is 0.