code: def reset(self):
          
          self.result = {'encoding': None, 'confidence': 0.0, 'language': None}
          self.done = False
          self._got_data = False
          self._has_win_bytes = False
          self._input_state = InputState.PURE_ASCII
          self._last_char = b''
          if self._esc_charset_prober:
              self._esc_charset_prober.reset()
          for prober in self._charset_probers:
              prober.reset()
docs: Reset the UniversalDetector and all of its probers back to their
          initial states.  This is called by ``__init__``, so you only need to
          call this directly in between analyses of different documents.