Functions
BigEndian
template<typename StaticType> inline StaticType BigEndian(
StaticType val
)

Converts a type with a static size to or from big endian

Parameters
val
StaticType

the value to convert

Returns

The converted value

LittleEndian
template<typename StaticType> inline StaticType LittleEndian(
StaticType val
)

Converts a type with a static size to or from little endian

Parameters
val
StaticType

the value to convert

Returns

The converted value

DeviceEndian_To_SystemEndian

Converts the value from Big Endian to System Endian

Parameters
val

the value to convert

Returns

The value in System Endianess

SystemEndian_To_BigEndian
template<typename StaticType> inline StaticType SystemEndian_To_BigEndian(
StaticType val
)

Converts the value from System Endian to Big Endian

Parameters
val
StaticType

the value to convert

Returns

The value in Big Endian

LittleEndian_To_SystemEndian
template<typename StaticType> inline StaticType LittleEndian_To_SystemEndian(
StaticType val
)

Converts the value from Little Endian to System Endian

Parameters
val
StaticType

the value to convert

Returns

The value in System Endianess

SystemEndian_To_LittleEndian
template<typename StaticType> inline StaticType SystemEndian_To_LittleEndian(
StaticType val
)

Converts the value from System Endian to Little Endian

Parameters
val
StaticType

the value to convert

Returns

The value in Little Endian