I want to open a file for Binary:
However, I want to also append to the file but not necessarily the end of the file.Code:Open filepath For Binary As #1
Example:
01 02 03 04 05 06 0B 0C 0D 0E 0F
^
I want to insert 07 08 09 0A after the 06 but before the 0B.
I know I can just read the file before I insert the data and then overwrite pretty much the whole file... but what if I am dealing with a large file... it seems rather inefficient. Is there a better way to do this?




Reply With Quote