Hi,

Is it possible with QFile to seek to an offset in a file and overwrite a set amount of existing bytes?

I can use QFile.seek() to go to a position in the file, but anything I write overwrites the entire file, rather than overwriting X number of bytes from where i seeked to . I opened the file with WriteOnly mode.

I want to avoid reading in the entire file, editing the bits i need to and writing it all out again. And instead just wirte data out to a specific location in the file.

Thanks for any help,

Jack