|
AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
|
ReceivedBuffer handles cstrings and stores them as strings. More...
#include <buffer.hpp>
Public Member Functions | |
| ReceiveBuffer () | |
| void | push (const char *cstr, size_t length, temp_buffer_t &buf) |
| T | front () |
| void | pop_front () |
| bool | empty () |
| void | clear () |
ReceivedBuffer handles cstrings and stores them as strings.
|
inline |
|
inline |
Clear the buffer
|
inline |
Is the buffer empty
|
inline |
Get the oldest message from the buffer
|
inline |
Remove the oldest message from the buffer
|
inline |
Push a message into the buffer