OEBWriteData¶
template<class T>
bool OEBWriteData(OEPlatform::oeostream &ofs, T &t)
Write the binary representation of t
to the file stream
ofs
. It is assumed the endian-ness will be stored in a separate
part of the file to help with decoding later. Returns true
if
all the data was successfully written.