|
ESPHome 2026.1.0
|
Fixed-size buffer for message dumps - avoids heap allocation. More...
#include <proto.h>
Public Member Functions | |
| DumpBuffer () | |
| DumpBuffer & | append (const char *str) |
| DumpBuffer & | append (const char *str, size_t len) |
| DumpBuffer & | append (size_t n, char c) |
| const char * | c_str () const |
| size_t | size () const |
Static Public Attributes | |
| static constexpr size_t | CAPACITY = 512 |
Fixed-size buffer for message dumps - avoids heap allocation.
Sized to match the logger's default tx_buffer_size (512 bytes) since anything larger gets truncated anyway.
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |