public function seekToOffset($offset)
    {
        try {
            if (($this->getArrayFlag() & self::ARRAY_INT) && !is_string($offset)) {
                return $this->seekToOffsetInteger($offset);
            } else {
                return $this->seekToOffsetPositional($offset);
            }
        } catch (OutOfRangeException $e) {
            throw $e;
        }
    }