2 ms·
Just add this to your serialiser and deserialiser: if (nativeEndianness != littleEndian) swapBytes(&theFloat); It's really, really not hard in comparison
by mort96 1y ago
Just add this to your serialiser and deserialiser:
if (nativeEndianness != littleEndian) swapBytes(&theFloat);
It's really, really not hard in comparison to parsing and serialising textual floats.