the starting checksum for the computation. Use 1 for a new checksum. Use the output of this function for a cumulative checksum.
buffer containing input data
A uint checksum for the provided input data and starting checksum
static ubyte[] data = [1,2,3,4,5,6,7,8,9,10]; uint adler = adler32(0u, data); assert(adler == 0xdc0037);
Compute the Adler-32 checksum of a buffer's worth of data.