vizzz wrote: Hi there, i need to find an hex pattern like 0x650A1010 in a binary file. i can make a small algorithm that fetch all the file for the match, but this file is huge, and i'm scared about performances. Is there any stl method for a fast search? You could try std::search() with istreambuf_iterator< unsigned char >. However: (a) ...