rcutils  master
C API providing common utilities and data structures.
Public Attributes | List of all members
rcutils_uint8_array_t Struct Reference

The structure holding the metadata for a uint8 array. More...

#include <uint8_array.h>

Collaboration diagram for rcutils_uint8_array_t:
Collaboration graph
[legend]

Public Attributes

uint8_t * buffer
 The allocated memory for the uint8 array. More...
 
size_t buffer_length
 The number of valid elements in the uint8 array. More...
 
size_t buffer_capacity
 The maximum capacity of the uint8 array. More...
 
rcutils_allocator_t allocator
 The allocator used to allocate and free memory for the uint8 array. More...
 

Detailed Description

The structure holding the metadata for a uint8 array.

Member Data Documentation

◆ buffer

uint8_t* rcutils_uint8_array_t::buffer

The allocated memory for the uint8 array.

◆ buffer_length

size_t rcutils_uint8_array_t::buffer_length

The number of valid elements in the uint8 array.

◆ buffer_capacity

size_t rcutils_uint8_array_t::buffer_capacity

The maximum capacity of the uint8 array.

◆ allocator

rcutils_allocator_t rcutils_uint8_array_t::allocator

The allocator used to allocate and free memory for the uint8 array.


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