Hacker News new | ask | show | jobs
by the_real_sparky 1873 days ago
This problem is it’s own special horror in Canbus data. Between endianness and sign it’s a nightmare of en/decoding possibilities and the associated mistakes that come with that.
1 comments

TIFF is another one. The only endian-switchable image format that I'm aware of.

Fun fact: CD-ROM superblocks have both-endian fields. Each integer is stored twice in big and little endian format. I assume this was to allow underpowered 80s hardware which didn't have enough resource to do byte swapping.