struct_byte_array_t Struct Reference

Defines an array of bytes. More...

#include <lib/utils/include/array.h>


Data Fields

uint32_t alloced
uint32_t length
unsigned char * data


Detailed Description

Defines an array of bytes.

This structure defines a special kind of byte array (actually unsigned char array) which knows its current length and its allocated memory space.

Definition at line 100 of file array.h.


Field Documentation

Memory space allocated for this array's data field, given as a multiple of sizeof(unsigned char). This is the maximum number of bytes that the array can accommodate.

Definition at line 106 of file array.h.

Current number of bytes hold in the array pointed by the structure's data field.

Definition at line 111 of file array.h.

Referenced by is_in_sorted_byte_array().

unsigned char* struct_byte_array_t::data

Array of unsigned char whose size is given by the alloced field.

Definition at line 116 of file array.h.


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

Generated on Fri Jun 17 11:10:12 2011 for TIFA by Doxygen 1.5.5