Re: Adding/Removing byes from the beginning of a file

new topic     » goto parent     » topic index » view thread      » older message » newer message
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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu