Buffer used to store strings.
More...
#include <bufstr.h>
|
|
| BufStr (int size) |
| |
|
void | addChar (char c) |
| |
|
void | addArray (const char *a, int len) |
| |
|
void | skip (uint s) |
| |
|
void | shrink (uint newlen) |
| |
|
void | resize (uint newlen) |
| |
|
int | size () const |
| |
|
char * | data () const |
| |
|
char & | at (uint i) const |
| |
|
bool | isEmpty () const |
| |
|
| operator const char * () const |
| |
|
uint | curPos () const |
| |
|
void | dropFromStart (uint bytes) |
| |
Buffer used to store strings.
This buffer is used append characters and strings. It will automatically resize itself, yet provide efficient random access to the content.
The documentation for this class was generated from the following file: