BLE: provide non const overload of byte_array_t::data member function.

pull/6932/head
Vincent Coubard 2018-04-04 15:21:54 +01:00
parent bf41bb3164
commit d8f3d9c5ef
1 changed files with 8 additions and 0 deletions

View File

@ -329,6 +329,14 @@ struct byte_array_t {
return _value;
}
/**
* Return the pointer to the buffer holding data.
*/
uint8_t* data() {
return _value;
}
/**
* Return the pointer to the buffer holding data.
*/