Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Binary buffer - substr

by highland7 (Novice)
on Jan 14, 2013 at 00:03 UTC ( #1013143=note: print w/ replies, xml ) Need Help??


in reply to Re: Binary buffer - substr
in thread Binary buffer - substr

One more question: How can i find index number for specific binary string ? I would like to find out from which byte that specific 4 bytes appear (/x16/x03/0x1/0x0) Thanks


Comment on Re^2: Binary buffer - substr
Re^3: Binary buffer - substr
by dave_the_m (Parson) on Jan 14, 2013 at 00:06 UTC
    index($packet_dump, "\x16\x03\x01\x01")

    Dave.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013143]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-12-27 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls