Write contents of std::string to a file.

Synopsis

Declared in <util/readwritefile.h>

bool
WriteBinaryFile(
    fs::path const& filename,
    std::string const& data);

Return Value

true on success.

Parameters

Name

Description

filename

Path of the file to write.

data

Bytes to write to the file.

Created with MrDocs