Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Where is the documentation for wxCharBuffer?

documentation
0
Posted

Where is the documentation for wxCharBuffer?

0

wxCharBuffer is one of many buffer class types, all of which have the same class structure. The routines in wxCharBuffer are as follows: wxCharBuffer(const char *str) Constructor – Uses strdup() to copy the string to an internal memory buffer wxCharBuffer(size_t len=0) Constructor – Creates an empty memory buffer of chars. NOTE: len is the length of the buffer, which should be large enough to include the terminating \0 character. ~wxCharBuffer() Destructor – free()s the internal memory buffer back to the heap, if any char *release() Returns the internal memory buffer so it can be released (or ignored) by the caller wxCharBuffer& operator=(const char *str) Can use the = operator to assign a string to the buffer, releases the internal memory (if any) back to the heap and does strdup() to create the new buffer of strings wxCharBuffer& operator=(const wxCharBuffer& src) Moves the buffer from the src to the destination, using =, releasing the destination buffer (if it exists). The sou

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123