|
Bitstream Interpretation Library (BIL)
0.1
|
Contains functions for converting endianess. More...
#include <boost/cstdint.hpp>

Go to the source code of this file.
Namespaces | |
| namespace | bil |
Macros | |
| #define | BIL_ENDIANCONVERSION_HPP |
Functions | |
| boost::uint16_t | bil::swapBigLittleEndian (const boost::uint16_t &x) |
| Swaps given 16 bit value from big endian to little endian and vice versa (i.e. exchanges first octet for second). | |
| boost::uint32_t | bil::swapBigLittleEndian (const boost::uint32_t &x) |
| Swaps given 32 bit value from big endian to little endian and vice versa (i.e. exchanges first octet for fourth, and second for third). | |
| boost::uint64_t | bil::swapBigLittleEndian (const boost::uint64_t &x) |
| Swaps given 64 bit value from big endian to little endian and vice versa (i.e. exchanges first octet for eighth, second for seventh, third for sixth, and fourth for fifth). | |
| template<typename type > | |
| type | bil::swapBigEndian (const type &x) |
| Swaps given value from big endian to endianess of the system and vice versa. | |
| template<typename type > | |
| type | bil::swapLittleEndian (const type &x) |
| Swaps given value from little endian to endianess of the system and vice versa. | |
Contains functions for converting endianess.
Definition in file EndianConversion.hpp.
| #define BIL_ENDIANCONVERSION_HPP |
Definition at line 8 of file EndianConversion.hpp.
1.8.1.1