Contents

skipForward(by:)

Advance currentCodeUnitOffset to the end of n Characters, without constructing them.

Declaration

mutating func skipForward(by n: Int) -> Int

Discussion

Returns the number of Characters skipped over, which can be fewer than n if at the end of the UTF8Span.