Unicode.ASCII.Parser

struct Unicode.ASCII.Parser
Associated Types
Encoding = Unicode.ASCII

The encoding with which this parser is associated

Import import Swift

Initializers

init()

Constructs an instance that can be used to begin parsing CodeUnits at any Unicode scalar boundary.

Declaration

init()

Instance Methods

mutating func parseScalar(from:)

Parses a single Unicode scalar value from input.

Declaration

mutating func parseScalar<I>(from input: inout I) -> Unicode.ParseResult<Unicode.ASCII.Parser.Encoding.EncodedScalar> where I : IteratorProtocol, I.Element == Unicode.ASCII.Parser.Encoding.CodeUnit