How can I write hexadecimal data in the file so that additional data is not written (like hexeditors)?
Advertisements I want to make something like a small hex editor for my project. so i wrote a function like this(to replace the original code with the new code): int replace(FILE *binaryFile, long offset, unsigned char *replaced, int length) { if (binaryFile != NULL) { for (int i = 0; i < length; i++) {… Read More How can I write hexadecimal data in the file so that additional data is not written (like hexeditors)?