|
Boost Users : |
Subject: Re: [Boost-users] Can boost help me organize/parse lots of binary data?
From: Richard (legalize+jeeves_at_[hidden])
Date: 2013-02-20 21:19:49
[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>
-- "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> The Computer Graphics Museum <http://computergraphicsmuseum.org> The Terminals Wiki <http://terminals.classiccmp.org> Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
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