Hi all.
I have been doing some data conversion for work last few days, and one thing I to do is searching for some text in a file, and thenget the offset to the text. (the file is binary not text)
 
Woulsd I be best to read in say 1024 bytes into a buffer, then search the buffer for the text I want?
 
or is there a better/smarteer way to do it ?
 
Cheers,
 
 
Jeremy Coulter

Reply via email to