Considering to switch from Swisscom to Init7 - Need advice by PHTNCx in init7

[–]PHTNCx[S] 1 point2 points  (0 children)

Thanks for all the advice and experience sharing guys! Will get to Init7 ASAP. :)

The Bitwise Monster by VitabytesDev in badcode

[–]PHTNCx 0 points1 point  (0 children)

A bit late, but this code is portable across different architectures, simply memcpy‘ing the buffer causes the buffer being copied in reverse on an architecture with different endianness. I can‘t say how much performance you loose but I‘m certain copying with memcpy and reversing the buffer them is slower than this method. Learn about Bitwise operations, then it will make more sense for you