  void readField(
      apache::thrift::optional_field_ref<T&> data,
      FieldType /* fieldType */) {
    data = readRaw<T>();
  }
  void readField(
      apache::thrift::optional_field_ref<T&> data,
      FieldType  ) {
    data = readRaw<T>();
  }