copy on write buffer, used in conjunction with CopyOnWriteData
copy on write buffer, used in conjunction with CopyOnWriteData. Do not derive from this class
CWBuffer(const char* src, int length, int hint = 0)
CWBuffer(const CWBuffer& src)
~CWBuffer()
const CWBuffer& operator=(const CWBuffer& src)
void clear()
int compare(const char* str, int rightSize)
rightSize - size of array to compare against int compareNoCase(const char* str, int rightSize)
rightSize - size of array to compare against void split(int p, CWBuffer* ptr)
ptr - returned buffer, containing the positions >= p void truncate(int front, int back)
back - number of characters to remove from the end
of the string void substr(int first, int last)
last - the last character of the string to keep void makeWritable(int length)
void makeCString()
generated by doc++