utf16Offset(in:)

The UTF-16 code unit offset corresponding to this index.

Declaration

func utf16Offset<S>(in s: S) -> Int where S : StringProtocol