@@ -0,0 +1,13 @@
#include "include/utils.h"
uint32_t swap_endian32(uint32_t data){
uint32_t swapped = 0x00;
swapped |= data << 24;
swapped |= (data & 0x0000ff00) << 8;
swapped |= (data & 0x00ff0000) << 8;
swapped |= data >> 24;
return swapped;
}
The note is not visible to the blocked user.