MCPcopy Create free account
hub / github.com/ImageEngine/cortex / bigEndian

Function bigEndian

include/IECore/ByteOrder.h:64–71  ·  view source on GitHub ↗

Returns true if running on a big endian platform.

Source from the content-addressed store, hash-verified

62/// Returns true if running on a big endian
63/// platform.
64inline 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.
74template<typename T>

Callers 4

writeAttrFunction · 0.85
writeSimpleAttrFunction · 0.85
readLittleEndianFunction · 0.85
asLittleEndianFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected