
Does Boost have method to do endian swap, like those ntohl and htonl? -- View this message in context: http://www.nabble.com/handle-different-endian-tp20979512p20979512.html Sent from the Boost - Users mailing list archive at Nabble.com.

On Fri, Dec 12, 2008 at 12:02, boost001
Does Boost have method to do endian swap, like those ntohl and htonl?
Beman Dawes was working on an elegant endian-handling library, but
iirc it ran into problems that were only nicely fixable with C++0x
features.
In the mean time, you could implement an endian swap something like this:
#include
participants (2)
-
boost001
-
Scott McMurray