Boost logo

Boost Users :

Subject: Re: [Boost-users] Can boost help me organize/parse lots of binary data?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2013-02-21 11:12:18


On 02/20/13 20:19, Richard wrote:
> [Please do not mail me a copy of your followup]
>
> boost-users_at_[hidden] spake the secret code
> <CAPi0pssMXAbNnpPVKof2RAuXZY=WD-81XoJR0dFSc7PqcBBocQ_at_[hidden]> thusly:
>
>> For example, consider the following horrible code. Is there a "boost"
>> way to do this kind of thing... (perhaps Spirit/Karma is the answer
>> and I am just more out of touch than I imagine):
>
> OK, this is starting to look more like a serialization problem. You
> have serialized objects into a binary representation on your input
> stream and you need to deserialize them from the stream into your data
> structure.
>
> Boost has a serialization library for this sort of thing, but I
> haven't used it myself.
>
> Does this look more like what you need?
> <http://www.boost.org/doc/libs/1_53_0/libs/serialization/doc/index.html>
Hi Richard,

I've not used serialization either; however, I would assume
it uses some sort of archive "coding" to represent a class
which is probably not the same "coding" used by Chris'
"live" binary data stream. Chris, what's the format of
your binary data stream?

-regards,
Larry


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