#include <BytesWriter.h>
Static Public Member Functions | |
static void | ReadBytes (WORD &uDestination, const char *pSource, int iCount=2) |
static void | ReadBytes (DWORD &uDestination, const char *pSource, int iCount=4) |
static void | ReadBytes (int &iDestination, const char *pSource, int iCount) |
static void | WriteBytes (char *pDestination, WORD uSource) |
static void | WriteBytes (char *pDestination, DWORD uSource, int iCount=4) |
static void | WriteBytes (char *pDestination, int uSource, int iCount) |
static WORD | WriteSafeU16 (int uValue) |
static DWORD | WriteSafeU32 (DWORD uValue) |
Provides implementation for various buffer operations depending on the current platform and configuration.
Definition at line 36 of file BytesWriter.h.
|
inlinestatic |
Reads iCount bytes from pSource into pDestination.
[out] | uDestination | The buffer to retrieve data with byte-ordering depending on the machine. |
[in] | pSource | The buffer with little-endian ordered data. |
iCount | The number of bytes to read. |
Definition at line 53 of file BytesWriter.h.
|
inlinestatic |
Writes iCount bytes from pSource into pDestination.
[out] | pDestination | The buffer to retrieve little-endian ordered data. |
[in] | uSource | The buffer with byte-ordering depending on the machine. |
iCount | The number of bytes to write. |
Definition at line 92 of file BytesWriter.h.