/** * Reset the mode to start over (destroying any intermediate state) * * @return void */ public function reset() { $this->state = BaseConverter::ConvertFromBinary($this->initv, '0123456789'); $this->state = ltrim($this->state, '0'); }