I have a dynamic array of double with 3 dimensions eg.
customArray : array of array of array of double
In the program I set the length of each dimension separately (not rectangular array) and change it when it is needed.
I wonder if the array is stored in a compact memory portion so to save it in a stream at once like writebuffer(customArray,sizeof(customArray))
and later, load it again to the same dynamic array like
readbuffer(customArray, savedSize);
Is this possible ?