BlueToe
an alternative GATT/BLE implementation
|
type suitable to store the location and size of a chunk of memory that can be used to receive from the radio More...
#include <bluetoe/link_layer/include/bluetoe/buffer.hpp>
Public Member Functions | |
bool | empty () const |
returns true, if the buffer is empty | |
void | fill (std::initializer_list< std::uint8_t > data) |
copies the given data into the buffer | |
Public Attributes | |
std::uint8_t * | buffer |
std::size_t | size |
type suitable to store the location and size of a chunk of memory that can be used to receive from the radio
|
inline |
copies the given data into the buffer
std::uint8_t* bluetoe::link_layer::read_buffer::buffer |
Points to the location where content of the buffer is located. If size is 0, the value is unspecified. The allignment of the address is unspecified.
std::size_t bluetoe::link_layer::read_buffer::size |
Size of the chunk. If size is 0, an empty buffer is indicated and the value of buffer is unspecified