Boost serialization stamp? -
when try serialize object data why 22 serialization::archive 7
in serialized data? how rid of it?
a bit late perhaps, looking same thing here goes =)
you should take @ no_header
flag documented here , used this:
using namespace boost::archive; std::stringstream stream; text_oarchive archive(stream, no_header); archive << object;
i'm assuming text archives here judging question same works other archive types.
obviously 1 should consider before using since self-documenting property of archive largely lost modest saving in space...
Comments
Post a Comment