![]() |
Public API Reference |
#include <databuff.h>
Inheritance diagram for iDataBuffer:

Public Methods | |
| virtual size_t | GetSize () const=0 |
| Query the buffer size. More... | |
| virtual char * | GetData () const=0 |
| Get the buffer as an abstract pointer. More... | |
| char * | operator * () const |
| Get the buffer as an (char *) pointer. More... | |
| int8 * | GetInt8 () |
| Get as an int8 *. More... | |
| uint8 * | GetUint8 () |
| Get as an uint8 *. More... | |
The object does not care about the contents of the buffer; it just can perform several simple operations on them. The interface is designed to be light-weight, as an alternative to the heavy iString interface.
Definition at line 39 of file databuff.h.
|
|
Get the buffer as an abstract pointer.
Implemented in csDataBuffer. Referenced by csDataBuffer::csDataBuffer, GetInt8, GetUint8, and operator *. |
|
|
Get as an int8 *.
Definition at line 49 of file databuff.h. |
|
|
Query the buffer size.
Implemented in csDataBuffer. Referenced by csDataBuffer::csDataBuffer. |
|
|
Get as an uint8 *.
Definition at line 52 of file databuff.h. |
|
|
Get the buffer as an (char *) pointer.
Definition at line 46 of file databuff.h. References GetData. |