Public Member Functions | List of all members
BufStr Class Reference

Buffer used to store strings. More...

#include <bufstr.h>

Public Member Functions

 BufStr (uint size)
void addChar (char c)
void addArray (const char *a, uint len)
void skip (uint s)
void shrink (uint newlen)
void resize (uint newlen)
uint size () const
char * data () const
char & at (uint i) const
bool isEmpty () const
 operator const char * () const
uint curPos () const
void dropFromStart (uint bytes)

Detailed Description

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: