Apr 14, 2007 #1 A aamiralikhoja Member level 5 Joined Aug 11, 2004 Messages 90 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Activity points 708 How to search and replace there bytes in file with one byte ie if file containd 112233 i want to replace with 0f in whole file please give me alogorthm.
How to search and replace there bytes in file with one byte ie if file containd 112233 i want to replace with 0f in whole file please give me alogorthm.
Apr 14, 2007 #2 Y yjkwon57 Full Member level 4 Joined Jul 31, 2004 Messages 218 Helped 24 Reputation 48 Reaction score 3 Trophy points 1,298 Activity points 1,808 Re: help How to do this? You will copy the file into another with an N-character pre-read buffer. If the content of the buffer is the same with some character sequence to be replaced, just write some replacing character sequence and make the buffer empty.
Re: help How to do this? You will copy the file into another with an N-character pre-read buffer. If the content of the buffer is the same with some character sequence to be replaced, just write some replacing character sequence and make the buffer empty.
Apr 15, 2007 #3 A aamiralikhoja Member level 5 Joined Aug 11, 2004 Messages 90 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Activity points 708 Re: help How to do this? Thanks but how to do this ? I need some code not only idea.