I'm trying to write 1 kb at start of file, file size is 5mb. I'm using QFile object, it truncate file to 1kb. I want to keep rest of file as it is. I only want to change initial 1kb. How can I do this?