Creates a new string by copying the null-terminated UTF-8 data referenced by the given pointer.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Discussion
This is identical to init(cString: UnsafePointer<CChar> but operates on an unsigned sequence of bytes.