So I should have opened the file with the "+<" mode for read/write, seek to position 148 and write the byte there. (I would still need to copy the file first as I need to keep the original.)
Talk about closed thinking - I can't believe I overlooked that. Thanks adrianh and ++ (once I get some more votes!).
Cheers!
In reply to Re: Re: Copying binary data efficiently
by mildside
in thread Copying binary data efficiently
by mildside
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |