Contents

skipBack()

Move currentCodeUnitOffset to the start of the previous scalar, without decoding it.

Declaration

mutating func skipBack() -> Int

Discussion

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