Category : file

I have a large file (multiple gigabytes) and I need to repeatedly insert sectors in the beginning of it (the exact number of sectors and writes isn’t known ahead of time). One obvious solution is to simply read the file, insert the data and write again, but that’s far too inefficient. Considering the way how ..

Read more

I have a large file (multiple gigabytes) and I need to repeatedly insert sectors in the beginning of it (the exact number of sectors and writes isn’t known ahead of time). One obvious solution is to simply read the file, insert the data and write again, but that’s far too inefficient. Considering the way how ..

Read more