Another win for UnsafeBoundsCheckedBufferPointer, as it happens ;) - Compiler Explorer
UnsafeBoundsCheckedBufferPointer