16 #ifndef __STRING_BUFFER_H__ 17 #define __STRING_BUFFER_H__ 66 bool append(
const char *data);
76 bool append(
const char *data,
size_t data_len);
98 int find_last_of(
char search_char)
const;
103 inline const char*
c_str()
const;
123 return StringBufferBase::ensure_space(SIZE, required_size);
129 return StringBufferBase::append(_buff, SIZE, data);
135 return StringBufferBase::append(_buff, SIZE, data, data_len);
141 return StringBufferBase::append(_buff, SIZE, data);
147 return StringBufferBase::append_int(_buff, SIZE, data);
153 return StringBufferBase::find_last_of(_buff, search_char);
168 #endif // !__STRING_BUFFER_H__ const char * c_str() const
Definition: m2mstringbuffer.h:157
StringBuffer()
Definition: m2mstringbuffer.h:112
Definition: m2mstringbuffer.h:30
bool append(char data)
Definition: m2mstringbuffer.h:139
Definition: m2mstringbufferbase.h:26
bool ensure_space(size_t required_size) const
Definition: m2mstringbuffer.h:121
header for StringBufferBase.
size_t get_size() const
Definition: m2mstringbuffer.h:163
bool append_int(uint16_t data)
Definition: m2mstringbuffer.h:145