#include <types.hpp>
Public Member Functions | |
| DataBuf () | |
| Default constructor. | |
| DataBuf (long size) | |
| Constructor with an initial buffer size. | |
| ~DataBuf () | |
| Destructor, deletes the allocated buffer. | |
| void | alloc (long size) |
| Allocate a data buffer of the given size. | |
Public Attributes | |
| long | size_ |
| The current size of the buffer. | |
| byte * | pData_ |
| Pointer to the buffer, 0 if none has been allocated. | |
1.3.8