Contents

skipForward()

Advance currentCodeUnitOffset to the end of the current scalar, without decoding it.

Declaration

mutating func skipForward() -> Int

Discussion

Returns the number of Unicode.Scalars skipped over, which can be 0 if at the end of the UTF8Span.