Write contents of std::string to a file.
Declared in <util/readwritefile.h>
bool
WriteBinaryFile(
fs::path const& filename,
std::string const& data);
true on success.
| Name | Description |
|---|---|
| filename | Path of the file to write. |
| data | Bytes to write to the file. |