Contents

CFStringGetFastestEncoding(_:)

Returns for a CFString object the character encoding that requires the least conversion time.

Declaration

func CFStringGetFastestEncoding(_ theString: CFString!) -> CFStringEncoding

Parameters

  • theString:

    The string for which to determine the fastest encoding.

Return Value

The string encoding to which theString can be converted the fastest.

See Also

Working With Encodings