|
CX Framework
Cross-platform C utility framework
|
#include <buffer.h>
Data Fields | |
| size_t | len |
| Length of valid data currently in buffer. | |
| uint8 | data [] |
| Buffer data (flexible array member) | |
Simple buffer with size tracking
The buffer structure contains metadata (size and length) followed by the actual data. Access the data through the data member as a flexible array.