Boost logo

Boost Users :

Subject: [Boost-users] [endian] Boost.Endian library added for 1.57.0
From: Beman Dawes (bdawes_at_[hidden])
Date: 2014-08-15 11:36:40

The library provides integer and floating point types and conversion
functions for portable byte ordering regardless of processor endianness.
Although the primary uses are for file or network I/O, it is also useful
for unaligned integers or floats, or for 3, 5, 6, and 7 byte integers. The
library's predecessors have been in use for thirty years and developed
independently multiple times.

The repository is

The documentation is online at

See for
changes since the Formal Review.

No need to report "Inspection Report" problems; those will be cleaned up
before 1.57.0 ships. Please do report any other problems or concerns, since
the time between now and when the 1.57.0 beta ships in effect acts a
mini-review period.

If anyone has access to a big-endian platform with a modern C++ compiler,
please, please run the endian test suite and report the results. All
testing and use in recent years has been on little-endian platforms, so
big-endian platform testing is a worry.

Thanks for you patience,


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at