Kanzi 4.0.0-beta2
file_util.hpp File Reference

Namespaces

namespace  kanzi
 

Functions

vector< byte > kanzi::readAsBytes (File &file)
 Loads contents of a file into a vector of bytes.
 
string kanzi::readAsText (File &file)
 Loads contents of a file into a string.
 
vector< string > kanzi::readAsTextLines (File &file)
 Loads contents of a file into a vector of strings for each line.