Returns true if running on a big endian platform.
| 62 | /// Returns true if running on a big endian |
| 63 | /// platform. |
| 64 | inline bool bigEndian() |
| 65 | { |
| 66 | #ifdef IE_CORE_BIG_ENDIAN |
| 67 | return true; |
| 68 | #else |
| 69 | return false; |
| 70 | #endif |
| 71 | } |
| 72 | |
| 73 | /// Returns a copy of x with reversed byte order. |
| 74 | template<typename T> |
no outgoing calls
no test coverage detected