Hi all!
Well i got a socket that receives binary data and I got that data into an string, containing values and strings values too. (for example "0x04,h,o,m,e,....")
How can i search for an hex substring into that string?
I.e. i want to search "0x02,0x00,0x01,0x04".
I'm asking for a c++ version of python 'fooString.find("\x02\x00\x01\x04")'
Thanks to all :)