By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,060 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

Search file for binary pattern

P: n/a
I need a pre-made class (this is way over my head.. I can imagine the
pseudo code but cant implement it myself) that can search a file for a
specified binary pattern.

Actually what I really need is a way to read in a buffer (say 4k) and
search that buffer for multiple binary patterns, which would require a
smart sliding window to search a large amount of patterns in a short
amount of time.

Anyone have any suggestions?

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Regual expressions are great for searching for patterns

http://msdn.microsoft.com/library/de...xpressions.asp

Ken
-------------------------
<ju********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I need a pre-made class (this is way over my head.. I can imagine the
pseudo code but cant implement it myself) that can search a file for a
specified binary pattern.

Actually what I really need is a way to read in a buffer (say 4k) and
search that buffer for multiple binary patterns, which would require a
smart sliding window to search a large amount of patterns in a short
amount of time.

Anyone have any suggestions?
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.