|
Boost Users : |
Subject: Re: [Boost-users] serialization example
From: Pfligersdorffer, Christian (Christian.Pfligersdorffer_at_[hidden])
Date: 2011-03-18 11:57:09
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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net