Contents

CFConvertFloatHostToSwapped(_:)

Converts a 32-bit float from the host’s native byte order to a platform-independent format.

Declaration

func CFConvertFloatHostToSwapped(_ arg: Float) -> CFSwappedFloat32

Parameters

  • arg:

    The real value to convert.

Return Value

A structure holding the real value in a canonical byte order.

See Also

Core Foundation Byte Order Utilities Miscellaneous Functions