mirror of
https://github.com/barkeser2002/flower.git
synced 2026-09-25 19:36:20 +03:00
9 lines
242 B
C++
9 lines
242 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace engine::crc
|
|
{
|
|
// Crc memory hash based on data's memory, so, you must **ensure** struct init with ** T a = {}; **.
|
|
//
|
|
extern uint32_t crc32(const void* data, uint32_t length, uint32_t crc = 0);
|
|
} |