logo       

searching in a binary stream: msg#00134

Subject: searching in a binary stream
Hi guys, a little bit of googling hasn't revealed what I'm looking for on
this one. I have a file, it's got a bunch of information in it that's
"bracketed" by some hex numbers. So it'd look a little like 0089Clark
Kent6788Lex Luthor7863Lois Lane7876. Lots and lots of stuff in no particular
order. Data between the numbers is not at regular intervals.  I'm thinking
I'd use some sort of regex to read through the stream and find anything
that's between [a number] and [another number]. But then there's probably
some encoding that would have to happen, and that might throw another chef
into the kitchen if you get my meaning. Less chefs is better! Anyone have a
simple solution for this?

-- Justin


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~-> 

 


<Prev in Thread] Current Thread [Next in Thread>