Libft
Custom implementation of core libc functions with additional utility helpers.
Loading...
Searching...
No Matches
s_buff Struct Reference

Dynamic buffer structure for efficient string/data manipulation. More...

#include <libft.h>

Data Fields

char * data
 Pointer to the allocated data (owned by the buffer).
size_t cap
 Current allocated capacity (in bytes).
size_t len
 Current length of data in the buffer (in bytes).

Detailed Description

Dynamic buffer structure for efficient string/data manipulation.

Field Documentation

◆ cap

size_t s_buff::cap

Current allocated capacity (in bytes).

◆ data

char* s_buff::data

Pointer to the allocated data (owned by the buffer).

◆ len

size_t s_buff::len

Current length of data in the buffer (in bytes).


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