Da: "Pfligersdorffer, Christian" <Christian.Pfligersdorffer@eos.info>
A:
boost-users@lists.boost.org
Inviato: Ven 18 marzo 2011, 16:57:09
Oggetto: Re: [Boost-users] serialization example
Marco Piacentini wrote:
> In the example of the serialization, before serialize, an header is linked to the data.
> It will be handle both in write and read operations.
> Is this header essential for the serialization process, or it can be omitted and I can serialize only the data?
> thank you...
Try the boost::archive::no_header flag when constructing your archive.
Then you will serialize only data, if that is what you wanted.
Good luck,
--
Christian Pfligersdorffer
Software Engineering
www.eos.info_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.orghttp://lists.boost.org/mailman/listinfo.cgi/boost-users