From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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.