HTP
0.3
|
#include <bstr.h>
Data Fields | |
size_t | len |
size_t | size |
char * | ptr |
size_t bstr_t::len |
The length of the string stored in the buffer.
char* bstr_t::ptr |
Optional buffer pointer. If this pointer is NULL (as it currently is in virtually all cases) the string buffer will immediately follow this structure. If the pointer is not NUL, it points to the actual buffer used, and there's no data following this structure.
size_t bstr_t::size |
The current size of the buffer. If the buffer is bigger than the string then it will be able to expand without having to reallocate.