26 const std::vector<uint8_t>& vec,
const std::string& fileName);
33 std::vector<uint8_t>& out_data,
const std::string& fileName);
bool vectorToBinaryFile(const std::vector< uint8_t > &vec, const std::string &fileName)
Saves a vector directly as a binary dump to a file:
bool loadBinaryFile(std::vector< uint8_t > &out_data, const std::string &fileName)
Loads a entire file as a vector of bytes.
bool loadTextFile(std::vector< std::string > &o, const std::string &fileName)
Loads a text file as a vector of string lines.
GLsizei const GLchar ** string