14 size_t write(uint8_t ch)
override {
22 size_t write(
const uint8_t* buffer,
size_t size)
override {
24 for (
int j = 0; j < size; j++) {
25 result +=
write(buffer[j]);
Definition: StrPrint.h:11
size_t length()
Definition: StrPrint.h:32
size_t write(uint8_t ch) override
Definition: StrPrint.h:14
void reset()
Definition: StrPrint.h:34
size_t write(const uint8_t *buffer, size_t size) override
Definition: StrPrint.h:22
const char * c_str()
Definition: StrPrint.h:30
int inc_size
Definition: StrPrint.h:38
Str str
Definition: StrPrint.h:37
StrPrint(int incSize=200)
Definition: StrPrint.h:13
virtual void add(int value)
adds a int value
Definition: StrView.h:130
virtual int length()
Definition: StrView.h:370
String implementation which keeps the data on the heap. We grow the allocated memory only if the copy...
Definition: Str.h:22
size_t capacity()
Definition: Str.h:82
void reset()
Definition: Str.h:191
void setCapacity(size_t newLen)
Definition: Str.h:84
const char * c_str()
provides the string value as const char*
Definition: Str.h:188
Definition: Allocator.h:6