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

Function littleEndian

include/IECore/ByteOrder.h:53–60  ·  view source on GitHub ↗

Returns true if running on a little endian platform.

Source from the content-addressed store, hash-verified

51/// Returns true if running on a little endian
52/// platform.
53inline bool littleEndian()
54{
55#ifdef IE_CORE_LITTLE_ENDIAN
56 return true;
57#else
58 return false;
59#endif
60}
61
62/// Returns true if running on a big endian
63/// platform.

Callers 1

asBigEndianFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected