Contents

CFSwapInt64LittleToHost(_:)

Converts a 64-bit integer from little-endian format to the host’s native byte order.

Declaration

func CFSwapInt64LittleToHost(_ arg: UInt64) -> UInt64

Parameters

  • arg:

    The integer whose bytes should be swapped.

Return Value

The integer with its bytes swapped. If the host is little-endian, this function returns arg unchanged.

See Also

Core Foundation Byte Order Utilities Miscellaneous Functions