struct ScalarIteratorWalks Unicode scalar values across a borrowed UTF-8 range.
Unlike CharacterIterator, this exposes code points rather than user-visible grapheme clusters. Malformed subsequences yield U+FFFD and consume one maximal subpart, so every call advances or reports exhaustion.
Properties
let storage: ByteStorage
The backing storage.
let offset: Int
The byte offset in the underlying storage.
let end: Int
The exclusive ending byte offset in the source.