Contents

CFConvertFloat32HostToSwapped(_:)

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

Declaration

func CFConvertFloat32HostToSwapped(_ arg: Float32) -> 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