Man Over Board
Loading...
Searching...
No Matches
adler32.h File Reference

Header for Adler-32 checksum computation. More...

#include "global.h"

Functions

u32 adler32 (unsigned char *data, u32 len)
 Computes the Adler-32 checksum for a data buffer.
 

Detailed Description

Header for Adler-32 checksum computation.

Function Documentation

◆ adler32()

u32 adler32 ( unsigned char * data,
u32 len )

Computes the Adler-32 checksum for a data buffer.

Parameters
dataPointer to the data buffer.
lenLength of the buffer in bytes.
Returns
Computed Adler-32 checksum.