|
libstd v0.1.0
|
Structure representing a dynamic string with capacity tracking. More...
#include <base_string.h>
Public Attributes | |
| char * | data |
| size_t | size |
| size_t | capacity |
Structure representing a dynamic string with capacity tracking.
| size_t string::capacity |
Total allocated memory capacity for the buffer in bytes.
| char* string::data |
Pointer to the null-terminated character buffer.
| size_t string::size |
Current length of the string (excluding the null terminator).