lsfg-vk/framegen/include/trans/dll.hpp
2025-09-26 17:24:17 +02:00

21 lines
477 B
C++

#pragma once
#include <unordered_map>
#include <filesystem>
#include <cstdint>
#include <vector>
namespace Trans::DLL {
///
/// Parse all resources from a DLL file.
///
/// @param filename Path to the DLL file.
/// @return A map of resource IDs to their binary data.
///
/// @throws LSFG::error on various failure points.
///
std::unordered_map<uint32_t, std::vector<uint8_t>> parseDLL(
const std::filesystem::path& filename);
}