#include <databuf.h>
Inheritance diagram for csDataBuffer:
Public Methods | |
csDataBuffer (size_t iSize) | |
Construct an preallocated data buffer (filled with garbage initially). | |
csDataBuffer (char *iData, size_t iSize) | |
Construct an data buffer object given a existing (new char []) pointer. | |
virtual | ~csDataBuffer () |
Destroy (free) the buffer. | |
virtual size_t | GetSize () const |
Query the buffer size. | |
virtual csSome | GetData () const |
Get the buffer as an abstract pointer. | |
Public Attributes | |
SCF_DECLARE_IBASE |
The object is extremely lightweight and is recommended for use in plugins as a mean to transparently exchange abstract data between plugins.