MCPcopy Create free account
hub / github.com/comaps/comaps / IsBigEndianMacroBased

Function IsBigEndianMacroBased

libs/coding/endianness.hpp:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15// should be implemented taking endianness into account
16
17inline bool IsBigEndianMacroBased()
18{
19#ifdef ENDIAN_IS_BIG
20 return true;
21#else
22 return false;
23#endif
24}
25
26template <typename T>
27T ReverseByteOrder(T t)

Callers 2

DecodeHeaderMethod · 0.85
InitHeaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected