A serializer for reading from and writing to memory.
More...
#include <memoryserializer.h>
List of all members.
Public Member Functions |
| MemorySerializer (const void *pReadBuffer, size_t readSize, void *pWriteBuffer, size_t writeSize) |
| Construct an instance.
|
size_t | getBytesRead () const |
| Returns the amount of bytes that have currently been read.
|
size_t | getBytesWritten () const |
| Returns the amount of bytes that have currently been written.
|
Detailed Description
Constructor & Destructor Documentation
serut::MemorySerializer::MemorySerializer |
( |
const void * |
pReadBuffer, |
|
|
size_t |
readSize, |
|
|
void * |
pWriteBuffer, |
|
|
size_t |
writeSize |
|
) |
| |
Construct an instance.
- Parameters:
-
pReadBuffer | Buffer from which data may be read. |
readSize | The amount of bytes which may be read. |
pWriteBuffer | Buffer to which data may be written. |
writeSize | The amount of bytes which may be written. |
Member Function Documentation
size_t serut::MemorySerializer::getBytesRead |
( |
| ) |
const [inline] |
size_t serut::MemorySerializer::getBytesWritten |
( |
| ) |
const [inline] |
The documentation for this class was generated from the following file: