#include <StringBuffer.h>
StringBuffer::StringBuffer |
( |
char * |
buffer, |
|
|
unsigned int |
bufferSize |
|
) |
| |
|
inline |
setup a StringBuffer by passing a local char[] variable and it's size.
void StringBuffer::append |
( |
char |
c | ) |
|
|
inline |
void StringBuffer::append |
( |
const char * |
txt | ) |
|
|
inline |
void StringBuffer::append |
( |
const __FlashStringHelper * |
txt | ) |
|
|
inline |
void StringBuffer::append |
( |
int |
num | ) |
|
|
inline |
void StringBuffer::append |
( |
uint32_t |
num | ) |
|
|
inline |
void StringBuffer::appendJSON |
( |
const char * |
name, |
|
|
char * |
value |
|
) |
| |
|
inline |
Append an object with value in the JSON notation to the buffer.
void StringBuffer::appendJSON |
( |
const char * |
name, |
|
|
int |
value |
|
) |
| |
|
inline |
Append an object with value in the JSON notation to the buffer.
void StringBuffer::appendQuoted |
( |
const char * |
txt | ) |
|
|
inline |
Append a string with enclosing quotes at the given buffer.
void StringBuffer::clear |
( |
| ) |
|
|
inline |
char* StringBuffer::getBuffer |
( |
| ) |
|
|
inline |
uint16_t StringBuffer::getLength |
( |
| ) |
|
|
inline |
unsigned int StringBuffer::_len |
|
private |
The actual used len of the buffer.
unsigned int StringBuffer::_size |
|
private |
The documentation for this class was generated from the following file: