Contents

CFSwapInt16(_:)

Swaps the bytes of a 16-bit integer.

Declaration

func CFSwapInt16(_ arg: UInt16) -> UInt16

Parameters

  • arg:

    The integer whose bytes should be swapped.

Return Value

The integer with its bytes swapped.

See Also

Core Foundation Byte Order Utilities Miscellaneous Functions