Hacker News new | ask | show | jobs
by jstimpfle 3 hours ago
Does that mean there are no file formats thatbuse big endian? And network byte order isn't a thing?
2 comments

    > there are no file formats thatbuse big endian
if someone chooses to do that they own the problems.

    > network byte order isn't a thing
if the network serializes/deserializes for you (kernel primitives) then you don't care what it does. if it doesn't and for some reason you choose to use big endian, again, you own the problem.
Generally those edge cases are always the same endianness. You don't need big and little endianness versions of the structures. What's important is that everyone agrees on the same thing.