MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Functions
microstrain::serialization::big_endian Namespace Reference

Functions

template<class T >
std::enable_if< std::is_arithmetic< T >::value &&sizeof(T)==1, size_t >::type write (uint8_t *buffer, T value)
 
template<class T >
std::enable_if< std::is_arithmetic< T >::value &&sizeof(T)==2, size_t >::type write (uint8_t *buffer, T value)
 
template<class T >
std::enable_if< std::is_arithmetic< T >::value &&sizeof(T)==4, size_t >::type write (uint8_t *buffer, T value)
 
template<class T >
std::enable_if< std::is_arithmetic< T >::value &&sizeof(T)==8, size_t >::type write (uint8_t *buffer, T value)
 
template<class T >
std::enable_if< std::is_arithmetic< T >::value &&sizeof(T)==1, size_t >::type read (const uint8_t *buffer, T &value)
 
template<class T >
std::enable_if< std::is_arithmetic< T >::value &&sizeof(T)==2, size_t >::type read (const uint8_t *buffer, T &value)
 
template<class T >
std::enable_if< std::is_arithmetic< T >::value &&sizeof(T)==4, size_t >::type read (const uint8_t *buffer, T &value)
 
template<class T >
std::enable_if< std::is_arithmetic< T >::value &&sizeof(T)==8, size_t >::type read (const uint8_t *buffer, T &value)
 

Function Documentation

◆ read() [1/4]

template<class T >
std::enable_if<std::is_arithmetic<T>::value && sizeof(T)==1, size_t>::type microstrain::serialization::big_endian::read ( const uint8_t *  buffer,
T &  value 
)

◆ read() [2/4]

template<class T >
std::enable_if<std::is_arithmetic<T>::value && sizeof(T)==2, size_t>::type microstrain::serialization::big_endian::read ( const uint8_t *  buffer,
T &  value 
)

◆ read() [3/4]

template<class T >
std::enable_if<std::is_arithmetic<T>::value && sizeof(T)==4, size_t>::type microstrain::serialization::big_endian::read ( const uint8_t *  buffer,
T &  value 
)

◆ read() [4/4]

template<class T >
std::enable_if<std::is_arithmetic<T>::value && sizeof(T)==8, size_t>::type microstrain::serialization::big_endian::read ( const uint8_t *  buffer,
T &  value 
)

◆ write() [1/4]

template<class T >
std::enable_if<std::is_arithmetic<T>::value && sizeof(T) == 1, size_t>::type microstrain::serialization::big_endian::write ( uint8_t *  buffer,
value 
)

◆ write() [2/4]

template<class T >
std::enable_if<std::is_arithmetic<T>::value && sizeof(T) == 2, size_t>::type microstrain::serialization::big_endian::write ( uint8_t *  buffer,
value 
)

◆ write() [3/4]

template<class T >
std::enable_if<std::is_arithmetic<T>::value && sizeof(T) == 4, size_t>::type microstrain::serialization::big_endian::write ( uint8_t *  buffer,
value 
)

◆ write() [4/4]

template<class T >
std::enable_if<std::is_arithmetic<T>::value && sizeof(T) == 8, size_t>::type microstrain::serialization::big_endian::write ( uint8_t *  buffer,
value 
)