Azinix

util_byte_array_t Struct Reference

Struct to represent byte-array. More...

#include <util.h>


Data Fields

int length
char * bytes


Detailed Description

Struct to represent byte-array.

Struct to represent byte-array. Need length because cannot depend on null termination, as 0 may be present in array. As with int arrays, allocate as sizeof(int) + sizeof(char*) + length * sizeof(char).

Definition at line 175 of file util.h.


Field Documentation

int util_byte_array_t::length

Definition at line 177 of file util.h.

char* util_byte_array_t::bytes

Definition at line 178 of file util.h.