! @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 */
| 7678 | @note from https://stackoverflow.com/a/1001328/266378 |
| 7679 | */ |
| 7680 | static inline bool little_endianess(int num = 1) noexcept |
| 7681 | { |
| 7682 | return *reinterpret_cast<char*>(&num) == 1; |
| 7683 | } |
| 7684 | |
| 7685 | |
| 7686 | /////////////////// |
no outgoing calls
no test coverage detected