Boost logo

Boost Users :

Subject: Re: [Boost-users] Can boost help me organize/parse lots of binary data?
From: Alex Perry (Alex.Perry_at_[hidden])
Date: 2013-02-21 05:41:06


On 21 February 2013 02:20 Richard [mailto:legalize+jeeves_at_[hidden]] wrote :-
>
> 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>
> --

Whilst the serialization library is a very useful tool and may well do what you want it might be
worth having a look at Google's protocol buffers library [1]

See [2] For some pros/cons of the 2 approaches

Alex

[1]https://developers.google.com/protocol-buffers/docs/overview
[2]http://stackoverflow.com/questions/1061169/boost-serialization-vs-google-protocol-buffers


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