fn indexOfSentinel(comptime Elem: type, comptime sentinel: Elem, ptr: [*:sentinel]const Elem) usize
Elem: type,
sentinel: Elem,
ptr: [*:sentinel]const Elem,