[fpc-pascal] Is there a Pos() function for TBytes?

Alexey Torgashin support at uvviewsoft.com
Thu Apr 20 11:33:20 CEST 2023


> 
> function PosInBytes(const Pattern: byte; Target: TBytes): integer;

Let's use IndexByte standard procedure here?
Maybe also in the 1st overloaded code too?
Alex


More information about the fpc-pascal mailing list