cpp-common/bt2c/fmt.hpp: use `wise_enum::string_type` in `EnableIfIsWiseEnum` definition
[babeltrace.git] / src / cpp-common / bt2c / file-utils.hpp
1 /*
2 * Copyright (c) 2022 Francis Deslauriers <francis.deslauriers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7 #ifndef BABELTRACE_CPP_COMMON_FILE_UTILS_HPP
8 #define BABELTRACE_CPP_COMMON_FILE_UTILS_HPP
9
10 #include <cstdint>
11 #include <vector>
12
13 namespace bt2c {
14
15 /*
16 * Returns a vector of all the bytes contained in `path`.
17 */
18 std::vector<std::uint8_t> dataFromFile(const char *path);
19
20 } /* namespace bt2c */
21
22 #endif /* BABELTRACE_CPP_COMMON_FILE_UTILS_HPP */
This page took 0.029581 seconds and 4 git commands to generate.