tgbot-cpp
FileTools Namespace Reference

Functions

std::string read (const std::string &filePath)
 

Function Documentation

◆ read()

std::string FileTools::read ( const std::string &  filePath)

Reads whole file to string.

Parameters
filePathPath to a file
Returns
string with file contents