Contents

CFStringAppendCString(_:_:_:)

Appends a C string to the character contents of a CFMutableString object.

Declaration

func CFStringAppendCString(_ theString: CFMutableString!, _ cStr: UnsafePointer<CChar>!, _ encoding: CFStringEncoding)

Parameters

  • theString:

    The string to which the characters from cStr are appended. If this value is not a CFMutableString object, an assertion is raised.

  • cStr:

    A pointer to a C string buffer.

  • encoding:

    The encoding of the characters in cStr.

See Also

CFMutableString Miscellaneous Functions