MCPcopy Create free account
hub / github.com/DacoTaco/priiloader / Data_Need_Swapping

Function Data_Need_Swapping

tools/HashGenerator/HashGenerator.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 printf("-h : display this message\n");
33}
34bool Data_Need_Swapping(void)
35{
36 int test_var = 1;
37 char* cptr = (char*)&test_var;
38
39 //true means little ending
40 //false means big endian
41 return (cptr != NULL);
42}
43inline void endian_swap(unsigned int& x)
44{
45 x = (x >> 24) |

Callers 2

WriteV1UpdateFileFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected