mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 15:57:13 +02:00
wip, prettywriter
This commit is contained in:
@ -34,7 +34,7 @@ std::string CreateMasterBinaryFile(const std::string filePath,
|
||||
}
|
||||
|
||||
rapidjson::StringBuffer s;
|
||||
rapidjson::Writer<rapidjson::StringBuffer> writer(s);
|
||||
rapidjson::PrettyWriter<rapidjson::StringBuffer> writer(s);
|
||||
attr->GetBinaryAttributes(&writer);
|
||||
std::string message = s.GetString();
|
||||
if (fwrite((void *)message.c_str(), 1, message.length(), fd) !=
|
||||
|
Reference in New Issue
Block a user