Represents an in-memory output stream. 更多...
#include <stringbuffer.h>
Public 类型 | |
typedef Encoding::Ch | Ch |
Public 成员函数 | |
GenericStringBuffer (Allocator *allocator=0, size_t capacity=kDefaultCapacity) | |
void | Put (Ch c) |
void | PutUnsafe (Ch c) |
void | Flush () |
void | Clear () |
void | ShrinkToFit () |
void | Reserve (size_t count) |
Ch * | Push (size_t count) |
Ch * | PushUnsafe (size_t count) |
void | Pop (size_t count) |
const Ch * | GetString () const |
size_t | GetSize () const |
Public 属性 | |
internal::Stack< Allocator > | stack_ |
静态 Public 属性 | |
static const size_t | kDefaultCapacity = 256 |
Represents an in-memory output stream.