From: Rune (rune.sune_at_[hidden])
Date: 2006-03-28 12:00:54
Olaf van der Spek <olafvdspek <at> gmail.com> writes:
> When reading/writing binary streams, you often need to read/write an
> (unaligned) integer in big, little or native endian. Is there support
> for this in Boost?
Sometimes it is necessary to send floats and doubles as well between different
In such cases, should a float be sent as is down the wire, relying on IEEE754
for correct representation at destination, or should it be converted to a null-
terminated ascii-string, or should it...?
It would be really nice if boost.asio or boost.whatever automagically handled
such floating-point primitives in the most efficient yet portable manner.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk