extension String.Index { /// Creates a new index at the specified UTF-16 offset. /// /// - Parameter offset: An offset in UTF-16 code units. public init(encodedOffset offset: Int) /// The offset into a string's UTF-16 encoding for this index. public var encodedOffset: Int { get } ...