libstd v0.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
string Struct Reference

Structure representing a dynamic string with capacity tracking. More...

#include <base_string.h>

Public Attributes

char * data
 
size_t size
 
size_t capacity
 

Detailed Description

Structure representing a dynamic string with capacity tracking.

Member Data Documentation

◆ capacity

size_t string::capacity

Total allocated memory capacity for the buffer in bytes.

◆ data

char* string::data

Pointer to the null-terminated character buffer.

◆ size

size_t string::size

Current length of the string (excluding the null terminator).


The documentation for this struct was generated from the following file: