Model fixed size array values. More...
#include <BLETypes.h>
| Public Member Functions | |
| byte_array_t () | |
| Default to all zeroes.  More... | |
| byte_array_t (const uint8_t *input_value) | |
| Initialize a data from an array of bytes.  More... | |
| byte_array_t (const uint8_t *input_value, size_t size) | |
| Initialize a data from an buffer of bytes.  More... | |
| uint8_t & | operator[] (size_t i) | 
| Subscript operator to access data content.  More... | |
| uint8_t | operator[] (size_t i) const | 
| Subscript operator to access data content.  More... | |
| const uint8_t * | data () const | 
| Return the pointer to the buffer holding data.  More... | |
| uint8_t * | data () | 
| Return the pointer to the buffer holding data.  More... | |
| Static Public Member Functions | |
| static size_t | size () | 
| Size in byte of a data.  More... | |
| Static Public Attributes | |
| static const size_t | size_ = array_size | 
| Size of the array; accessible at compile time.  More... | |
| Friends | |
| bool | operator== (const byte_array_t &lhs, const byte_array_t &rhs) | 
| Equal operator between two octet types.  More... | |
| bool | operator!= (const byte_array_t &lhs, const byte_array_t &rhs) | 
| Non equal operator between two octet types.  More... | |
Model fixed size array values.
| array_size | The size of the array. | 
Definition at line 333 of file BLETypes.h.
| byte_array_t | ( | ) | 
Default to all zeroes.
Definition at line 342 of file BLETypes.h.
| byte_array_t | ( | const uint8_t * | input_value | ) | 
Initialize a data from an array of bytes.
| [in] | input_value | value of the data. | 
Definition at line 351 of file BLETypes.h.
| byte_array_t | ( | const uint8_t * | input_value, | 
| size_t | size | ||
| ) | 
Initialize a data from an buffer of bytes.
| [in] | input_value | pointer to buffer. | 
| [in] | size | buffer size | 
Definition at line 361 of file BLETypes.h.
| const uint8_t* data | ( | ) | const | 
Return the pointer to the buffer holding data.
Definition at line 396 of file BLETypes.h.
| uint8_t* data | ( | ) | 
Return the pointer to the buffer holding data.
Definition at line 403 of file BLETypes.h.
| uint8_t& operator[] | ( | size_t | i | ) | 
Subscript operator to access data content.
Definition at line 382 of file BLETypes.h.
| uint8_t operator[] | ( | size_t | i | ) | const | 
Subscript operator to access data content.
Definition at line 389 of file BLETypes.h.
| 
 | static | 
Size in byte of a data.
Definition at line 410 of file BLETypes.h.
| 
 | friend | 
Non equal operator between two octet types.
Definition at line 375 of file BLETypes.h.
| 
 | friend | 
Equal operator between two octet types.
Definition at line 368 of file BLETypes.h.
| 
 | static | 
Size of the array; accessible at compile time.
Definition at line 337 of file BLETypes.h.