Re: Adding/Removing byes from the beginning of a file
- Posted by DerekParnell (admin) Feb 21, 2015
- 1788 views
GreenEuphorian said...
Thanks for the clarifications.
I'll try to follow Pete's advice about simply changing the first few bytes, without trimming them off. Would overwriting the first few bytes entail reading and re-writing the rest of the file too? Or can the modified bytes be saved on the disk just by themselves? You see, I am only worried about the performance overhead in case the whole file had to be re-written.
What is the relevant command that I would use to overwrite the first few bytes?
Thanks again
This idea will work if its your own file layout design. If it is a standard or proprietary file type, you may run into problems doing this.