Struct rcutils_char_array_s
Defined in File char_array.h
Struct Documentation
-
struct rcutils_char_array_s
The structure holding the metadata for a char array.
Public Members
-
char *buffer
A pointer to the allocated memory for this char array.
-
bool owns_buffer
if this is true, we may safely free/realloc the buffer as needed; otherwise we will leave the buffer alone and alloc new memory if more space is needed
-
size_t buffer_length
The length of the data stored in the buffer pointer.
-
size_t buffer_capacity
The maximum capacity of the buffer pointer.
-
rcutils_allocator_t allocator
The allocator used to allocate and free the data in the pointer.
-
char *buffer