byteorder.h File Reference

Namespaces

 maxon
 

Macros

#define MAXON_BYTEORDER_LITTLE_ENDIAN
 

Enumerations

enum class  BYTEORDER {
  BIG ,
  LITTLE
}
 

Functions

enum maxon::BYTEORDER MAXON_ENUM_LIST (BYTEORDER)
 
MAXON_ATTRIBUTE_FORCE_INLINE UInt16 SwapByteOrder (UInt16 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE Int16 SwapByteOrder (Int16 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE UInt32 SwapByteOrder (UInt32 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE Int32 SwapByteOrder (Int32 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE UInt64 SwapByteOrder (UInt64 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE Int64 SwapByteOrder (Int64 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE UInt16 SwapUInt16 (UInt16 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE Int16 SwapInt16 (Int16 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE UInt32 SwapUInt32 (UInt32 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE Int32 SwapInt32 (Int32 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE UInt64 SwapUInt64 (UInt64 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE Int64 SwapInt64 (Int64 data)
 
MAXON_ATTRIBUTE_FORCE_INLINE void SwapUInt16 (UInt16 *addr, Int count=1)
 
MAXON_ATTRIBUTE_FORCE_INLINE void SwapInt16 (Int16 *addr, Int count=1)
 
MAXON_ATTRIBUTE_FORCE_INLINE void SwapUInt32 (UInt32 *addr, Int count=1)
 
MAXON_ATTRIBUTE_FORCE_INLINE void SwapInt32 (Int32 *addr, Int count=1)
 
MAXON_ATTRIBUTE_FORCE_INLINE void SwapUInt64 (UInt64 *addr, Int count=1)
 
MAXON_ATTRIBUTE_FORCE_INLINE void SwapInt64 (Int64 *addr, Int count=1)
 
template<BYTEORDER order>
MAXON_ATTRIBUTE_FORCE_INLINE void ByteOrder_UInt16 (UInt16 *addr, Int count=1)
 
template<BYTEORDER order>
MAXON_ATTRIBUTE_FORCE_INLINE void ByteOrder_Int16 (Int16 *addr, Int count=1)
 
template<BYTEORDER order>
MAXON_ATTRIBUTE_FORCE_INLINE void ByteOrder_UInt32 (UInt32 *addr, Int count=1)
 
template<BYTEORDER order>
MAXON_ATTRIBUTE_FORCE_INLINE void ByteOrder_Int32 (Int32 *addr, Int count=1)
 
template<BYTEORDER order>
MAXON_ATTRIBUTE_FORCE_INLINE void ByteOrder_UInt64 (UInt64 *addr, Int count=1)
 
template<BYTEORDER order>
MAXON_ATTRIBUTE_FORCE_INLINE void ByteOrder_Int64 (Int64 *addr, Int count=1)
 

Variables

 BIG
 
 LITTLE
 
const BYTEORDER SYSTEM_BYTEORDER
 

Macro Definition Documentation

◆ MAXON_BYTEORDER_LITTLE_ENDIAN

#define MAXON_BYTEORDER_LITTLE_ENDIAN

Define that indicates the active byte order on this system.

Variable Documentation

◆ BIG

BIG

Big Endian Format, used on Motorola and IBM Processors (e.g. PowerPC)

◆ LITTLE

LITTLE

Little Endian Format, used on Intel and ARM Processors.