#include <databuff.h>
Inheritance diagram for iDataBuffer:

Public Methods | |
| virtual size_t | GetSize () const=0 |
| Query the buffer size. | |
| virtual csSome | GetData () const=0 |
| Get the buffer as an abstract pointer. | |
| char* | operator * () const |
| Get the buffer as an (char *) pointer. | |
| int8* | GetInt8 () |
| Get as an int8 *. | |
| uint8* | GetUint8 () |
| Get as an uint8 *. | |
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.