Contents

getCString(_:maxLength:encoding:)

Converts the String’s content to a given encoding and stores them in a buffer.

Declaration

func getCString(_ buffer: inout [CChar], maxLength: Int, encoding: String.Encoding) -> Bool

Discussion