bool OEWriteRecord(OEPlatform::oeostream &ofs, const OERecord &record, const std::string &fmt="binary")
Writes a record to an output stream, and returns true if the write is successful.
- The output stream to which the record will be written.
- The OERecord object to be written.
- The format to be written. Allowed values are “binary” (default) and “json”.