readAscii

File::readAscii

Reads ASCII data from a file.

Declaration

static std::string readAscii(const std::string& filePath);

Parameters

Name

Type

Description

filePath

const std::string&

The path to the file to read from.

Returns

The content of the file.