ppsspp/util/hash/hash.h
Henrik Rydgard 8b076c5b88 Cleanup
2012-03-31 11:16:13 +02:00

16 lines
324 B
C++

#ifndef _UTIL_HASH_HASH_H
#define _UTIL_HASH_HASH_H
#include <stdlib.h>
#include "base/basictypes.h"
namespace hash {
uint32 Fletcher(const uint8 *data_u8, size_t length); // FAST. Length & 1 == 0.
uint32 Adler32(const uint8 *data, size_t len); // Fairly accurate, slightly slower
} // namespace hash
#endif