Expand SerializeIF #656

Merged
mohr merged 17 commits from mueller/expand-serialize-if into development 2022-08-15 15:13:52 +02:00
Showing only changes of commit 380f1d0206 - Show all commits

View File

@ -75,7 +75,6 @@ class EndianConverter {
} }
#elif BYTE_ORDER_SYSTEM == BIG_ENDIAN #elif BYTE_ORDER_SYSTEM == BIG_ENDIAN
memcpy(out, in, size); memcpy(out, in, size);
return;
#endif #endif
} }
@ -112,7 +111,6 @@ class EndianConverter {
for (size_t count = 0; count < size; count++) { for (size_t count = 0; count < size; count++) {
out[size - count - 1] = in[count]; out[size - count - 1] = in[count];
} }
return;
#elif BYTE_ORDER_SYSTEM == LITTLE_ENDIAN #elif BYTE_ORDER_SYSTEM == LITTLE_ENDIAN
memcpy(out, in, size); memcpy(out, in, size);
#endif #endif