I have a binary file which contains data in 128-byte blocks that are spread across the file. Each block starts with a
char array of length
How do I reorganize the data in this binary file such that all 128-byte blocks are ordered sequentially and that there is no unused space between these blocks?
Unused/unallocated space is just represented by
0 in this file and strings are null terminated.
I'm quite lost.