Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: extracting strings from non-text files

by kschwab (Priest)
on Dec 20, 2016 at 20:32 UTC ( #1178245=note: print w/replies, xml ) Need Help??


in reply to extracting strings from non-text files

Nice quick and dirty approach, but you're likely missing things that cross the boundary of your 1024 byte buffer.

This node has a couple of replies with examples of using a sliding window to find strings in a binary file.

  • Comment on Re: extracting strings from non-text files

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1178245]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-01-20 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (226 votes). Check out past polls.

    Notices?