32WS_DLL_PUBLIC uint32_t
update_adler32(uint32_t adler,
const uint8_t *buf,
size_t len);
43WS_DLL_PUBLIC uint32_t
adler32_bytes(
const uint8_t *buf,
size_t len);
WS_DLL_PUBLIC uint32_t adler32_bytes(const uint8_t *buf, size_t len)
Computes the Adler-32 checksum of a byte array.
Definition adler32.c:39
WS_DLL_PUBLIC uint32_t adler32_str(const char *buf)
Computes the Adler-32 checksum of a C string.
Definition adler32.c:45
WS_DLL_PUBLIC uint32_t update_adler32(uint32_t adler, const uint8_t *buf, size_t len)
Updates an existing Adler-32 checksum with new data.
Definition adler32.c:21