Hello Dosakkhayo, go see the Rohitassa sutta to get a good understanding.
Rohitassa was an anariya yogi who died while searching for the end of the universe, long before the Bodhisatta was born. He travelled widely, using his abhinna powers, for a hundred years. Eventually, his body could no longer withstand the pressure, and he died. After his death, he was reborn as Brahma. He then approached Lord Buddha to seek the answer to whether the end of the universe exists.
Just as Sir Lal pointed out, this is one of the unthinkable topics. Yogis of the past tried to reach the end of the universe with Abhinnas powers and all died before reaching their goals. It is impossible to reach the end of the universe. Lord Buddha said that it is by attaining Nibbāna that one reaches the end of the universe.
The end of the world can never
Gamanena na pattabbo,
be reached by traveling.
lokassanto kudācanaṁ;
But without reaching the end of the world,
Na ca appatvā lokantaṁ,
there’s no release from suffering.
dukkhā atthi pamocanaṁ.
So an intelligent person, understanding the world,
Tasmā have lokavidū sumedho,
has completed the spiritual journey, and gone to the end of the world.
Lokantagū vusitabrahmacariyo;
A calm one, knowing the end of the world,
Lokassa antaṁ samitāvi ñatvā,
does not hope for this world or the next.”
Nāsīsatī lokamimaṁ parañcā”ti.