Xojo.Core.MemoryBlock.IndexOf

From Xojo Documentation

Method

Xojo.Core.MemoryBlock.IndexOf(offset As UInteger, other As Xojo.Core.MemoryBlock) As UInteger

Supported for all project types and targets.

Returns the position of the other MemoryBlock starting at the offset. Returns -1 if other was not found.