Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ByteConverter.h File Reference
#include "Define.h"
#include <algorithm>
Include dependency graph for ByteConverter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ByteConverter

Functions

template<typename T>
void ByteConverter::apply (T *val)
template<size_t T>
void ByteConverter::convert (char *val)
template<>
void ByteConverter::convert< 0 > (char *)
template<>
void ByteConverter::convert< 1 > (char *)
void EndianConvert (int8 &)
template<typename T>
void EndianConvert (T &)
template<typename T>
void EndianConvert (T *)
void EndianConvert (uint8 &)
template<typename T>
void EndianConvertPtr (void *)
template<typename T>
void EndianConvertPtrReverse (void *val)
void EndianConvertReverse (int8 &)
template<typename T>
void EndianConvertReverse (T &val)
template<typename T>
void EndianConvertReverse (T *)
void EndianConvertReverse (uint8 &)

Function Documentation

◆ EndianConvert() [1/4]

void EndianConvert ( int8 & )
inline

Definition at line 50 of file ByteConverter.h.

◆ EndianConvert() [2/4]

◆ EndianConvert() [3/4]

template<typename T>
void EndianConvert ( T * )

◆ EndianConvert() [4/4]

void EndianConvert ( uint8 & )
inline

Definition at line 49 of file ByteConverter.h.

◆ EndianConvertPtr()

template<typename T>
void EndianConvertPtr ( void * )
inline

Definition at line 42 of file ByteConverter.h.

Referenced by AuthSocket::_HandleLogonChallenge().

◆ EndianConvertPtrReverse()

template<typename T>
void EndianConvertPtrReverse ( void * val)
inline

Definition at line 43 of file ByteConverter.h.

References ByteConverter::apply().

◆ EndianConvertReverse() [1/4]

void EndianConvertReverse ( int8 & )
inline

Definition at line 52 of file ByteConverter.h.

◆ EndianConvertReverse() [2/4]

template<typename T>
void EndianConvertReverse ( T & val)
inline

◆ EndianConvertReverse() [3/4]

template<typename T>
void EndianConvertReverse ( T * )

◆ EndianConvertReverse() [4/4]

void EndianConvertReverse ( uint8 & )
inline

Definition at line 51 of file ByteConverter.h.