init(copying:)
Creates a new string, copying the specified code units.
Declaration
init(copying codeUnits: UTF8Span)Discussion
This initializer skips UTF-8 validation because codeUnits must contain valid UTF-8.
Creates a new string, copying the specified code units.
init(copying codeUnits: UTF8Span)This initializer skips UTF-8 validation because codeUnits must contain valid UTF-8.