init(cString:encoding:)
Produces a string by copying the null-terminated bytes in a given array, interpreted according to a given encoding.
Declaration
init?(cString: [CChar], encoding enc: String.Encoding)Produces a string by copying the null-terminated bytes in a given array, interpreted according to a given encoding.
init?(cString: [CChar], encoding enc: String.Encoding)