11 Added in Boost 1.58.0
Categories: Math , Miscellaneous , IO

Types and conversion functions for correct byte ordering and more regardless of processor endianness.


Peter Dimov


The Endian library provides facilities for dealing with endianness. It's part of Boost since release 1.58.0. See the documentation for more information.

Supported compilers

  • g++ 4.6 or later
  • clang++ 3.9 or later
  • Visual Studio 2012 or later

C++11 is required since release 1.84.

Tested on Github Actions and Appveyor.


Distributed under the Boost Software License, Version 1.0.