Function

NSSwapShort(_:)

Swaps the bytes of a number.

Declaration

func NSSwapShort(_ inv: UInt16) -> UInt16

Discussion

Swaps the low-order and high-order bytes of inv and returns the resulting value.

See Also