Converts values of an enum to and from integers using reflection.
Read a non-null value from reader.
reader