Copies data from buffer to variables in a typesafe manner.
#include <RegisterSetHelper.h>
|
|
static size_t | CopyData (void *pvDestination, size_t nbyDestSize, const void *pvSource, size_t nbySourceSize) |
| | memcpy firing exceptions
|
| |
|
template<typename T > |
| static size_t | CopyToBuffer (void *pvDestination, size_t nbyDestSize, T *d) |
| | Typesafe copy from variable to buffer.
|
| |
|
template<typename T > |
| static size_t | CopyFromBuffer (T *d, const void *pvDestination, size_t nbyDestSize) |
| | Typesafe copy from buffer to variable.
|
| |