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

Replies are listed 'Best First'.
Re^3: Binary buffer - substr
by dave_the_m (Monsignor) on Jan 14, 2013 at 00:06 UTC
    index($packet_dump, "\x16\x03\x01\x01")

    Dave.