code: public <T extends Enum<T>> T readEnum(Class<T> enumType) throws IOException {
  		try {
  			return Enum.valueOf(enumType, readUTF());
  		} catch(IllegalArgumentException err) {
  			throw new IOException(err);
  		}
  	}
docs: Reads an {@link Enum}, represented by its {@link Enum#name()}.