Required Initializerswift 6.0.1Swift
init
Creates an instance of the codec.
init()
Other requirements
Type members
static func encode(Unicode.Scalar, into: (Self.CodeUnit) -> Void
) Encodes a Unicode scalar as a series of code units by calling the given closure on each code unit.
Instance members
func decode<I>(inout I
) -> UnicodeDecodingResult Starts or continues decoding a code unit sequence into Unicode scalar values.