|
||||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
General data buffer with automatic memory handeling.
| Constructor Summary | |
CzzBuffer( unsigned long initsize )
Create a buffer. |
|
CzzBuffer( unsigned long initsize, unsigned long realloc )
Create a buffer |
|
virtual ~CzzBuffer()
|
|
| Method Summary | |
void |
append( char* more, unsigned long size )
Append data to the buffer |
void |
clear( void )
Clears the buffer |
char* |
getData( void )
Pointer to the raw data |
unsigned long |
getSize( void )
Buffer size |
| Constructor Detail |
public CzzBuffer( unsigned long initsize );
initsize - Initial size in bytespublic CzzBuffer( unsigned long initsize, unsigned long realloc );
initsize - Initial size in bytes
realloc - Size of reallocation blockpublic virtual ~CzzBuffer();
| Method Detail |
public void append( char* more, unsigned long size );
more - Data to be appended
size - Size of the datapublic void clear( void );
public char* getData( void );
public unsigned long getSize( void );
|
||||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||