| 20 | } |
| 21 | |
| 22 | bool isLittleEndian() { |
| 23 | // Little endian arch stores the least significant value in the lower bytes. |
| 24 | int testNumber = 1; |
| 25 | return *(uint8_t*)&testNumber == 1; |
| 26 | } |
| 27 | |
| 28 | } // namespace common |
| 29 | } // namespace lbug |
no outgoing calls
no test coverage detected