1
0
mirror of synced 2025-01-31 12:03:46 +01:00
ImHex/include/utils.hpp
2020-11-11 00:13:09 +01:00

16 lines
337 B
C++

#pragma once
#include <hex.hpp>
#include <array>
#include <optional>
#include <string>
namespace hex {
std::optional<std::string> openFileDialog();
u16 crc16(u8 *data, size_t size, u16 polynomial, u16 init);
u32 crc32(u8 *data, size_t size, u32 polynomial, u32 init);
std::array<u32, 4> md5(u8 *data, size_t size);
}