As I know C enum is unsigned integer, but this may vary by implementation. What type should I use for the enum in binary representation?
*PS 'binary representation' means byte-array. I want to serialize enum values to socket to inter-operate with other programs.