readBinary

File::readBinary

Reads binary data from a file.

Declaration

static std::string readBinary(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.