Go to the source code of this file.
◆ sbgSwap16()
Set of functions used to swap numbers.
\file sbgSwap.h
- Author
- SBG Systems (Raphael Siryani)
- Date
- 14 January 2013
Copyright Notice
Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.
This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
Swap a uint16_t number.
- Parameters
-
[in] | x | The uint16_t to swap. |
- Returns
- The swapped value.
Definition at line 42 of file sbgSwap.h.
◆ sbgSwap32()
Swap a uint32_t number.
- Parameters
-
[in] | x | The uint32_t to swap. |
- Returns
- The swapped value.
Definition at line 52 of file sbgSwap.h.
◆ sbgSwap64()
Swap a uint64_t number.
- Parameters
-
[in] | x | The uint64_t to swap. |
- Returns
- The swapped value.
Definition at line 62 of file sbgSwap.h.
◆ sbgSwapDouble()
Swap a double number.
- Parameters
-
[in] | val | The double to swap. |
- Returns
- The swapped value.
Definition at line 109 of file sbgSwap.h.
◆ sbgSwapFloat()
Swap a float number.
- Parameters
-
[in] | val | The float to swap. |
- Returns
- The swapped value.
Definition at line 88 of file sbgSwap.h.