Files
DpsManagerServer/include/dps/fs_utils.hpp
2026-04-15 15:19:28 +08:00

15 lines
386 B
C++

#pragma once
#include <filesystem>
#include <string>
#include <vector>
namespace dps {
std::filesystem::path path_from_utf8(const std::string &value);
std::string path_to_utf8_string(const std::filesystem::path &path);
std::string read_text_file(const std::filesystem::path &path);
std::vector<unsigned char> read_binary_file(const std::filesystem::path &path);
} // namespace dps