Function Decoder.readEnum
Reads an enumeration.
Returns
The enumeration's value.
Throws
- AvroTypeException If this is a stateful reader and enumeration is not the type of the next value to be read. - IOException
Reads an enumeration.
The enumeration's value.
- AvroTypeException If this is a stateful reader and enumeration is not the type of the next value to be read. - IOException