SNMP++
3.3.11
|
Tool class for easy allocation of buffer space. More...
#include <v3.h>
Public Member Functions | |
Buffer (const unsigned int size) | |
Constructor: Allocate a buffer for size objects. More... | |
~Buffer () | |
Destructor: Free allocated buffer. More... | |
T * | get_ptr () |
Get the buffer pointer. More... | |
void | clear () |
Overwrite the buffer space with zero. More... | |
Private Attributes | |
T * | ptr |
unsigned int | len |
Tool class for easy allocation of buffer space.
|
inline |
|
inline |