! @brief determine system byte order @return true if and only if system's byte order is little endian @note from https://stackoverflow.com/a/1001328/266378 */
| 9125 | @note from https://stackoverflow.com/a/1001328/266378 |
| 9126 | */ |
| 9127 | static inline bool little_endianness(int num = 1) noexcept |
| 9128 | { |
| 9129 | return *reinterpret_cast<char*>(&num) == 1; |
| 9130 | } |
| 9131 | |
| 9132 | |
| 9133 | /////////////////// |
no outgoing calls
no test coverage detected