Collection state structure. More...
#include <collection.h>
Data Fields | |
| uint8_t * | items |
| uint8_t * | keys |
| uint32_t | count |
| uint32_t | width |
Collection state structure.
This structure represents the state of a keyed collection. It maintains pointers to the array of stored items and the corresponding keys, along with the count of items and the fixed size (in bytes) of each item.
| uint32_t count |
[uint32_t] Number of items currently stored in the collection.
| uint8_t* items |
[uint8_t*] Pointer to the contiguous array storing collection items.
| uint8_t* keys |
[uint8_t*] Pointer to the array storing keys corresponding to each item.
| uint32_t width |
[uint32_t] Fixed byte size of an individual item in the collection.