[ CCode ( has_target = false ) ]
public delegate bool MemoryIsSpanFunction (Memory mem1, Memory mem2, size_t offset)
Check if mem1
and mem2
occupy contiguous memory and return the offset of mem1
in the parent buffer
in offset
.
mem1 |
a Memory |
mem2 |
a Memory |
offset |
a result offset |
|