14std::string to_hex(T number,
const bool append0x =
true) {
15 std::stringstream stream;
19 stream << std::setfill (
'0')
20 << std::hex << number;
22 auto format = stream.str();
23 std::transform(format.begin(), format.end(), format.begin(), ::toupper);
27template <
typename Container,
typename Key>
28constexpr bool contains(
const Container& c,
const Key& k) {
29#if __cplusplus >= 202002L
32 return c.find(k) != c.end();
36uint32_t translate(uint32_t offset);
37std::vector<std::filesystem::directory_entry> getRecursiveEntries(
const std::filesystem::path baseDir);