Mar-08-2023, 09:20 PM
(Mar-08-2023, 09:15 PM)deanhystad Wrote: Splitting the array into parts is easy (use split()). But how do you save the chunks? if you write the chunks to a binary file how do you delimit the chunks? It is not like a text file where there is a default delimiter ('\n'). Do you plan to write each chunk to a different file? If you write them all back to the same file, using a delimiter to separate, what is the advantage over not splitting up the file in the first place?
I dont want to write them Back to the Same File. Goal ist to have multiple Files ofcourse. If there is a way to Split then without loading into Array that would work too.