Boost logo

Boost :

Subject: Re: [boost] Interest in simple unformatted binary stream I/O?
From: Scott McMurray ([hidden])
Date: 2011-04-28 23:15:21

On Sun, Apr 24, 2011 at 18:43, Marsh Ray <marsh_at_[hidden]> wrote:
> 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.
> <iostream> brings in a huge header tree with 99% unnecessary functionality
> for binary protocols. The more efficient the headers, the better. Functions
> that didn't need to read could just include the header for writing, and
> vice-versa.

Would you be fine with it working on streambufs? That way you'd only
need <streambuf>...

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