Converts values of an enum to and from integers using reflection.
Read an encoded message from data.
data