the objective of this api is to efficiently store gigantic strings in the computer files within the game limitations, when it is complete i may use this lib to create a robust database.
api in action:
Capture d’écran du 2022-09-03 18-43-16.png43.3 KB first this stores a string of 160000 length to the disk in the "Disk.write(char_100000)" line then it updates the start of the 160000 first file to "abcdefghi" then it updates the string after 4th index to "111" so the first file will start with "abcd111hi1111111111111111111111111..." at this point there is only 1 file in disk with 160000 chars which is the limit for the file then we update the string in the 159995th index to "abcdefghi" what it will do is set the final of the fist file to "...1111111abcde" and create a new file containing "fghi" image.png149 KB