Base Framework
Public Member Functions | Public Attributes | List of all members
BigEndian< TYPE > Struct Template Reference

Big endian representation. More...

#include <base/ByteOrder.h>

Public Member Functions

 BigEndian (TYPE _value) noexcept
 
TYPE operator= (TYPE assign) noexcept
 
 operator TYPE () const noexcept
 

Public Attributes

TYPE value
 

Detailed Description

template<class TYPE>
struct BigEndian< TYPE >

Big endian representation.

This class is used to store primitives in big endian byte order independently of the native byte order of the platform.

Version
2.0