#include <MAUtil/DataHandler.h>
Keeps a handle and a position.
Public Member Functions | |
DataHandler (MAHandle data) | |
bool | read (void *dst, int len) |
void | write (const void *src, int len) |
Public Attributes | |
const int | size |
|
Initializes DataHandler::size and sets the position to 0. |
|
Copies len bytes from the data object to memory pointed to by dst.
|
|
Copies len bytes to the data object from memory pointed to by src.
|
|
The size, in bytes, of the data object. |