4 ms·
And you're not writing code for big-endian machines to interoperate with little-endian machines. It's easy to write binary protocol code that way but it isn't
by cardiffspaceman 8y ago
And you're not writing code for big-endian machines to interoperate with little-endian machines.
It's easy to write binary protocol code that way but it isn't portable.
- jdblair 8y agoIt goes without saying that you have get the endian right when you store the values. That's what the endian macros are for.