1.0
This commit is contained in:
14
include/dps/fs_utils.hpp
Normal file
14
include/dps/fs_utils.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user