C Container Collection (CCC)
Loading...
Searching...
No Matches
CCC_Flat_buffer Struct Reference

#include <private_flat_buffer.h>

Detailed Description

A Flat_buffer is a contiguous array of a uniform type. The user can specify any type. The Flat_buffer can be fixed size if no allocation permission is given or dynamic if allocation permission is granted. The Flat_buffer can also be manually resized via the interface.

Data Fields

void * data
 
size_t count
 
size_t capacity
 
size_t sizeof_type
 

Field Documentation

◆ capacity

size_t CCC_Flat_buffer::capacity

The total Flat_buffer slots possible for this array.

◆ count

size_t CCC_Flat_buffer::count

The current count of active Flat_buffer slots.

◆ data

void* CCC_Flat_buffer::data

The contiguous memory of uniform type.

◆ sizeof_type

size_t CCC_Flat_buffer::sizeof_type

The size of the type the user stores in the buffer.


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