Function for finding hex patterns in raw binary data
Original Reporter info from Mantis: tedsmith
-
Reporter name: TED SMITH
Original Reporter info from Mantis: tedsmith
- Reporter name: TED SMITH
Description:
Feature Request: An inbuilt function for the programmer to find hex patterns in raw binary data.
Further to this thread, a function has been devised by user 'Scoops' which works well for a particular 4 byte pattern. With some adjustment, it could be used to find any hex pattern and would be especially useful for programmers coding low level applications.
http://lazarus.freepascal.org/index.php/topic,20319.msg117425.html#msg117425 (see reply 16 in particular for the solution along with some minor improvements that followed)
Mantis conversion info:
- Mantis ID: 24200
- Version: 2.7.1