let’s say that we ignore the target and source hardware for a moment. So, what’s the better endian style to go with — big or small?
I’m just trying to go with consensus / convention on this one. The best guidance I’ve received so far is “it depends” so always specify. That’s fine. I’ll do that.
However, in this situation there is no need to be one way or the other. There’s no legacy, so I thought, “what would be the cleanest choice for current & emerging hardware.”
Actually the answer is it depends
If you just want a choice then Since in Big Endian high order byte comes first ,you can always check positive or negative from the first byte.