private function getPosition()
    {
        if (false === ($position = @ftell($this->getHandle()))) {
            $error = error_get_last();

            throw new RuntimeException($error['message']);
        }

        return $position;
    }