Instance Property

utf8Start

A pointer to the beginning of the string’s UTF-8 encoded representation.

Declaration

var utf8Start: UnsafePointer<UInt8> { get }

Discussion

The static string must store a pointer to either ASCII or UTF-8 code units. Accessing this property when hasPointerRepresentation is false triggers a runtime error.