Boost logo

Boost :

Subject: Re: [boost] Interest in simple unformatted binary stream I/O?
From: Jamie Allsop (ja11sop_at_[hidden])
Date: 2011-04-25 08:50:20

On 25/04/11 07:01, Michael Caisse wrote:
> On 04/24/2011 06:43 PM, Marsh Ray wrote:
>> On 04/24/2011 07:12 AM, Beman Dawes wrote:
>> > Is there interest in this for Boost?
>> Rather than a machine and compiler-dependent binary IO facility based
>> on iostreams, I'd rather have a simple, minimal, portable binary
>> streaming interface that handled endianness and alignment well for
>> wire-representation defined structures.
> I use Spirit Qi/Karma for this exact thing. When paired with Asio it can
> be a very convenient solution.

As I recall spirit uses the proposed boost endian library underneath for
this which of course causes a problem if you are using boost endian
directly yourself (I add it to my current tree) since spirit hasn't
placed endian into a detail namespace.


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