Creates a string from the null-terminated, UTF-8 encoded sequence of bytes at the given pointer.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
Parameters
nullTerminatedUTF8
A pointer to a sequence of contiguous, UTF-8 encoded bytes ending just before the first zero byte.