Functions
sbgSwap.h File Reference

Set of functions used to swap numbers. More...

#include <sbgCommon.h>
Include dependency graph for sbgSwap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SBG_INLINE uint16 sbgSwap16 (uint16 x)
 
SBG_INLINE uint32 sbgSwap32 (uint32 x)
 
SBG_INLINE uint64 sbgSwap64 (uint64 x)
 
SBG_INLINE double sbgSwapDouble (double val)
 
SBG_INLINE float sbgSwapFloat (float val)
 

Detailed Description

Set of functions used to swap numbers.

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.

Definition in file sbgSwap.h.

Function Documentation

SBG_INLINE uint16 sbgSwap16 ( uint16  x)

Swap a uint16 number.

Parameters
[in]xThe uint16 to swap.
Returns
The swapped value.

Definition at line 42 of file sbgSwap.h.

SBG_INLINE uint32 sbgSwap32 ( uint32  x)

Swap a uint32 number.

Parameters
[in]xThe uint32 to swap.
Returns
The swapped value.

Definition at line 52 of file sbgSwap.h.

SBG_INLINE uint64 sbgSwap64 ( uint64  x)

Swap a uint64 number.

Parameters
[in]xThe uint64 to swap.
Returns
The swapped value.

Definition at line 62 of file sbgSwap.h.

SBG_INLINE double sbgSwapDouble ( double  val)

Swap a double number.

Parameters
[in]valThe double to swap.
Returns
The swapped value.

Definition at line 109 of file sbgSwap.h.

SBG_INLINE float sbgSwapFloat ( float  val)

Swap a float number.

Parameters
[in]valThe float to swap.
Returns
The swapped value.

Definition at line 88 of file sbgSwap.h.



sbg_driver
Author(s):
autogenerated on Sun Jan 27 2019 03:42:20