When exchanging data (in my case usually integers) between big/little endian machines, I need to take care of proper byte ordering.
Now I need to exchange an enum and was wondering if the same rules apply and if I can assume enums to always have the same size as integers.
I assume I have to reorder bytes but since I'm not sure I thought I'd better ask.