8 #ifndef LIBCBOR_ARRAYS_H     9 #define LIBCBOR_ARRAYS_H   112 #endif //LIBCBOR_ARRAYS_H cbor_item_t * cbor_new_definite_array(size_t size)
Create new definite array. 
bool cbor_array_replace(cbor_item_t *item, size_t index, cbor_item_t *value)
Replace item at an index. 
size_t cbor_array_allocated(const cbor_item_t *item)
Get the size of the allocated storage. 
cbor_item_t * cbor_new_indefinite_array()
Create new indefinite array. 
cbor_item_t * cbor_array_get(const cbor_item_t *item, size_t index)
Get item by index. 
bool cbor_array_is_indefinite(const cbor_item_t *item)
Is the array indefinite? 
size_t cbor_array_size(const cbor_item_t *item)
Get the number of members. 
bool cbor_array_is_definite(const cbor_item_t *item)
Is the array definite? 
bool cbor_array_push(cbor_item_t *array, cbor_item_t *pushee)
Append to the end. 
bool cbor_array_set(cbor_item_t *item, size_t index, cbor_item_t *value)
Set item by index. 
cbor_item_t ** cbor_array_handle(const cbor_item_t *item)
Get the array contents.