NSSwapShort(_:)
Swaps the bytes of a number.
Declaration
func NSSwapShort(_ inv: UInt16) -> UInt16Discussion
Swaps the low-order and high-order bytes of inv and returns the resulting value.
See Also
Related Documentation
Functions
NSConvertHostDoubleToSwapped(_:)NSConvertHostFloatToSwapped(_:)NSConvertSwappedDoubleToHost(_:)NSConvertSwappedFloatToHost(_:)NSHostByteOrder()NSSwapBigDoubleToHost(_:)NSSwapBigFloatToHost(_:)NSSwapBigIntToHost(_:)NSSwapBigLongLongToHost(_:)NSSwapBigLongToHost(_:)NSSwapBigShortToHost(_:)NSSwapDouble(_:)NSSwapFloat(_:)NSSwapHostDoubleToBig(_:)NSSwapHostDoubleToLittle(_:)