Represents an in-memory output stream.
更多...
#include <stringbuffer.h>
|
| 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 |
| Get the size of string in bytes in the string buffer.
|
|
size_t | GetLength () const |
| Get the length of string in Ch in the string buffer.
|
|
|
static const size_t | kDefaultCapacity = 256 |
|
template<typename Encoding, typename Allocator = CrtAllocator>
class rapidjson::GenericStringBuffer< Encoding, Allocator >
Represents an in-memory output stream.
- 模板参数
-
- 注解
- implements Stream concept
该类的文档由以下文件生成: