CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
BufferHeader Struct Reference

#include <buffer.h>

Data Fields

size_t len
 Length of valid data currently in buffer.
 
uint8 data []
 Buffer data (flexible array member)
 

Detailed Description

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.

Definition at line 30 of file buffer.h.


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