Boost logo

Boost :

Subject: Re: [boost] [serialization] In-memory archive?
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2008-10-17 11:13:46

Matthias Troyer wrote:
> On Oct 16, 2008, at 11:05 PM, Ling Li wrote:
>> Is there an easy way to serialize into a in-memory archive so that an
>> object can be, say, transferred over a network? Of course one can use
>> a disk file as the intermediate step but having some in-memory archive
>> should help here.
> You can use any archive type with an in-memory streambuffer.
> Boost.IOstreams can be used to create these streambuffers.

Or just std::istringstream/std::ostringstream.


Boost list run by bdawes at, gregod at, cpdaniel at, john at