Function read_file
Defined in File file.h
Function Documentation
-
std::vector<uint8_t> read_file(const std::string &filename)
Reads the content of a file into a vector of bytes.
- Parameters:
filename – The path to the file to read.
- Throws:
ExpKitError – if the file cannot be found or opened.
- Returns:
A vector of uint8_t containing the file’s data.