Generic Enumeration

Unicode.ParseResult

The result of attempting to parse a T from some input.

Declaration

@frozen enum ParseResult<T>

Topics

Enumeration Cases

case emptyInput

The input was entirely consumed.

case error(length: Int)

An encoding error was detected.

case valid(T)

A T was parsed successfully

See Also

Unicode Codecs

protocol UnicodeCodec

A Unicode encoding form that translates between Unicode scalar values and form-specific code units.

enum UnicodeDecodingResult

The result of one Unicode decoding step.