Nugget
Loading...
Searching...
No Matches
Namespaces | Functions
adler32.hh File Reference
#include <stdint.h>
Include dependency graph for adler32.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  psyqo
 

Functions

uint32_t psyqo::adler32 (uint8_t *buffer, unsigned length, uint32_t sum=1)
 Computes the adler32 checksum of a buffer.
 
uint32_t psyqo::adler32_bytes (uint8_t *buffer, unsigned length, uint32_t sum=1)
 Computes the adler32 checksum of a buffer, only reading bytes.
 
uint32_t psyqo::adler32_words (uint32_t *buffer, unsigned length, uint32_t sum=1)
 Computes the adler32 checksum of a buffer, optimized for words.