[#WriteBinaryFile] = WriteBinaryFile :mrdocs: Write contents of std::string to a file. == Synopsis Declared in `<util/readwritefile.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WriteBinaryFile( xref:fs/path.adoc[fs::path] const& filename, std::string const& data); ---- == Return Value true on success. == Parameters [cols="1,4"] |=== | Name| Description | *filename* | Path of the file to write. | *data* | Bytes to write to the file. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#