
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. Jamie