Monero
Macros | Functions
portable_storage_bin_utils.h File Reference
#include "int-util.h"
Include dependency graph for portable_storage_bin_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONVERT_POD(x)   convert_swapper(x)
 

Functions

template<typename T >
T convert_swapper (T t)
 
template<>
uint16_t convert_swapper (uint16_t t)
 
template<>
int16_t convert_swapper (int16_t t)
 
template<>
uint32_t convert_swapper (uint32_t t)
 
template<>
int32_t convert_swapper (int32_t t)
 
template<>
uint64_t convert_swapper (uint64_t t)
 
template<>
int64_t convert_swapper (int64_t t)
 
template<>
double convert_swapper (double t)
 

Macro Definition Documentation

◆ CONVERT_POD

#define CONVERT_POD (   x)    convert_swapper(x)

Function Documentation

◆ convert_swapper() [1/8]

template<typename T >
T convert_swapper ( T  t)

◆ convert_swapper() [2/8]

template<>
uint16_t convert_swapper ( uint16_t  t)
inline

◆ convert_swapper() [3/8]

template<>
int16_t convert_swapper ( int16_t  t)
inline

◆ convert_swapper() [4/8]

template<>
uint32_t convert_swapper ( uint32_t  t)
inline

◆ convert_swapper() [5/8]

template<>
int32_t convert_swapper ( int32_t  t)
inline

◆ convert_swapper() [6/8]

template<>
uint64_t convert_swapper ( uint64_t  t)
inline

◆ convert_swapper() [7/8]

template<>
int64_t convert_swapper ( int64_t  t)
inline

◆ convert_swapper() [8/8]

template<>
double convert_swapper ( double  t)
inline