10namespace Arp { 
namespace Base { 
namespace Core
 
   24    static void Swap(T& value);
 
   25    static void Swap(
byte* pBuffer, 
size_t size);
 
   28    static void ReverseCopy(
const T& source, T& target);
 
   29    static void ReverseCopy(
const byte* pSource, 
byte* pTarget, 
size_t size);
 
   41    Swap(
reinterpret_cast<byte*
>(&value), 
sizeof(T));
 
   50    const byte* pSource = 
reinterpret_cast<const byte*
>(&source);
 
   51    byte* pTarget = 
reinterpret_cast<byte*
>(&target);
 
This pure static class provides operations for byte converting from little to big endian and vice ver...
Definition: ByteConverter.hpp:15
 
static void ReverseCopy(const T &source, T &target)
Copies the reverted bytes of the source  argument to the target  argument.
Definition: ByteConverter.hpp:48
 
static void Swap(T &value)
Swaps the bytes of the as argument passed value of any primitive type.
Definition: ByteConverter.hpp:39
 
Root namespace for the PLCnext API