Find sequence in binary fiel and advance from there

alex1974 alex.leisser at gmail.com
Tue May 7 08:26:16 UTC 2019


I want to read a binary file and validate that it contains the 
sequence [73,68,51] (ID3). And than start to read from this 
position onward.

I could read in the whole file as an ubyte array but I would 
prefer a range-based solution. Has anyone done this and could 
point me in the right direction?

Alex


More information about the Digitalmars-d-learn mailing list