public function reset(int $i = 0) : bool { $this->pos = $i; if (\fseek($this->fp, $i, SEEK_SET) === 0) { return true; } throw new CryptoException\CannotPerformOperation('fseek() failed'); }