469,946 Members | 1,805 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,946 developers. It's quick & easy.

Search file for binary pattern

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
1 1635
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.

Similar topics

1 post views Thread by Eric | last post: by
14 posts views Thread by henrik.sorensen | last post: by
1 post views Thread by kenone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.