mirror of https://github.com/ARMmbed/mbed-os.git
BLE: provide non const overload of byte_array_t::data member function.
parent
bf41bb3164
commit
d8f3d9c5ef
|
@ -329,6 +329,14 @@ struct byte_array_t {
|
||||||
return _value;
|
return _value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the pointer to the buffer holding data.
|
||||||
|
*/
|
||||||
|
uint8_t* data() {
|
||||||
|
return _value;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the pointer to the buffer holding data.
|
* Return the pointer to the buffer holding data.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue