
29 Apr
2011
29 Apr
'11
3:15 a.m.
On Sun, Apr 24, 2011 at 18:43, Marsh Ray <marsh@extendedsubset.com> 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>...