World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
+ Граф связей класса Adler-32:

Файлы

файл  adler32.h
 

Функции

unsigned long av_adler32_update (unsigned long adler, const uint8_t *buf, unsigned int len) av_pure
 

Подробное описание

Adler-32 hash function implementation.

Функции

◆ av_adler32_update()

unsigned long av_adler32_update ( unsigned long  adler,
const uint8_t buf,
unsigned int  len 
)

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/adler32.h>

Calculate the Adler32 checksum of a buffer.

Passing the return value to a subsequent av_adler32_update() call allows the checksum of multiple buffers to be calculated as though they were concatenated.

Аргументы
adlerinitial checksum value
bufpointer to input buffer
lensize of input buffer
Возвращает
updated checksum