![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Include dependency graph for endian.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | shambase |
| namespace for basic c++ utilities | |
Functions | |
| bool | shambase::is_little_endian () |
| Check if the CPU is in little endian. | |
| template<class T > | |
| void | shambase::endian_swap (T &a) |
| Swap the endianness of the input value. | |
| template<class T > | |
| T | shambase::get_endian_swap (T a) |
| Return a copy of the input value with the endianness swapped. | |
Definition in file endian.hpp.