58static auto read_file(std::string_view path) -> std::string
60 std::ifstream in_file(path.data(), std::ios::ate | std::ios::binary);
62 if (!in_file.is_open()) {
66 std::ptrdiff_t
const file_size = in_file.tellg();
67 std::string result(file_size,
'\0');
70 in_file.read(result.data(), file_size);