Memory buffer supporting generic read/write interface. More...
#include <mi32/genericrwmem.h>

Public Member Functions | |
| GENERICRW_MEMORY () | |
| virtual | ~GENERICRW_MEMORY () |
| void | Attach (SIMPLE_ARRAY< UINT8 > &buffer) |
| void | Attach (UINT8 *&items, int numitems) |
| UINT8 * | Detach () |
| const SIMPLE_ARRAY< UINT8 > & | GetBuffer () const |
Memory buffer supporting generic read/write interface.
| GENERICRW_MEMORY::GENERICRW_MEMORY | ( | ) |
Constructor.
| virtual GENERICRW_MEMORY::~GENERICRW_MEMORY | ( | ) | [virtual] |
Destructor.
| void GENERICRW_MEMORY::Attach | ( | SIMPLE_ARRAY< UINT8 > & | buffer | ) |
Attach SIMPLE_ARRAY<UINT8> to instance.
| buffer | Buffer to attach, will be detached from here |
| void GENERICRW_MEMORY::Attach | ( | UINT8 *& | items, | |
| int | numitems | |||
| ) |
Attach allocated array memory buffer.
| items | Buffer to attach | |
| numitems | Number of items in array |
| UINT8* GENERICRW_MEMORY::Detach | ( | ) |
Detach memory buffer.
Return pointer to buffer, caller must free.
| const SIMPLE_ARRAY<UINT8>& GENERICRW_MEMORY::GetBuffer | ( | ) | const |
Get memory buffer.
1.6.1