! @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 */
| 7747 | @note from https://stackoverflow.com/a/1001328/266378 |
| 7748 | */ |
| 7749 | static inline bool little_endianess(int num = 1) noexcept |
| 7750 | { |
| 7751 | return *reinterpret_cast<char*>(&num) == 1; |
| 7752 | } |
| 7753 | |
| 7754 | |
| 7755 | /////////////////// |
no outgoing calls
no test coverage detected