The result of one Unicode decoding step.
SDK
Framework
On This Page
@frozen enum UnicodeDecodingResult
Each UnicodeDecodingResult instance can represent a Unicode scalar value, an indication that no more Unicode scalars are available, or an indication of a decoding error.
UnicodeDecodingResult
case emptyInput
An indication that no more Unicode scalars are available in the input.
case error
An indication of a decoding error.
case scalarValue(Unicode.Scalar)
A decoded Unicode scalar value.
static func != (UnicodeDecodingResult, UnicodeDecodingResult) -> Bool
Returns a Boolean value indicating whether two values are not equal.
static func == (UnicodeDecodingResult, UnicodeDecodingResult) -> Bool
Returns a Boolean value indicating whether two values are equal.
Equatable
protocol UnicodeCodec
A Unicode encoding form that translates between Unicode scalar values and form-specific code units.
enum Unicode.ASCII
enum Unicode.UTF8
enum Unicode.UTF16
enum Unicode.UTF32
enum Unicode.ParseResult
The result of attempting to parse a T from some input.
T